[tracker-miners/sam/test-runner-fix: 38/39] functional-tests: Skip tests with intermittent failures
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/sam/test-runner-fix: 38/39] functional-tests: Skip tests with intermittent failures
- Date: Tue, 5 Mar 2019 20:26:19 +0000 (UTC)
commit 161ad6344072a4bf724b2e8cb40f27ff90c06585
Author: Sam Thursfield <sam afuera me uk>
Date: Tue Mar 5 21:19:29 2019 +0100
functional-tests: Skip tests with intermittent failures
Relevant issues:
* https://gitlab.gnome.org/GNOME/tracker-miners/issues/55
* https://gitlab.gnome.org/GNOME/tracker-miners/issues/56
* https://gitlab.gnome.org/GNOME/tracker-miners/issues/57
tests/functional-tests/300-miner-basic-ops.py | 1 +
tests/functional-tests/301-miner-resource-removal.py | 1 +
tests/functional-tests/500-writeback.py | 4 ++++
tests/functional-tests/501-writeback-details.py | 4 ++++
4 files changed, 10 insertions(+)
---
diff --git a/tests/functional-tests/300-miner-basic-ops.py b/tests/functional-tests/300-miner-basic-ops.py
index 0a9390f98..4b627fec5 100755
--- a/tests/functional-tests/300-miner-basic-ops.py
+++ b/tests/functional-tests/300-miner-basic-ops.py
@@ -161,6 +161,7 @@ class MinerCrawlTest (CommonTrackerMinerTest):
self.assertEquals (3, self.tracker.count_instances ("nfo:TextDocument"))
+ @ut.skip("https://gitlab.gnome.org/GNOME/tracker-miners/issues/56")
def test_05_move_from_unmonitored_to_monitored (self):
"""
Move a file from unmonitored to monitored directory
diff --git a/tests/functional-tests/301-miner-resource-removal.py
b/tests/functional-tests/301-miner-resource-removal.py
index 517613922..e8785db16 100755
--- a/tests/functional-tests/301-miner-resource-removal.py
+++ b/tests/functional-tests/301-miner-resource-removal.py
@@ -63,6 +63,7 @@ class MinerResourceRemovalTest (CommonTrackerMinerTest):
return self.tracker.await_resource_inserted (rdf_class = NFO_DOCUMENT,
url = self.uri(file_name))
+ @ut.skip("https://gitlab.gnome.org/GNOME/tracker-miners/issues/57")
def test_01_file_deletion (self):
"""
Ensure every logical resource (nie:InformationElement) contained with
diff --git a/tests/functional-tests/500-writeback.py b/tests/functional-tests/500-writeback.py
index 71ce8c766..4ef25083a 100755
--- a/tests/functional-tests/500-writeback.py
+++ b/tests/functional-tests/500-writeback.py
@@ -22,6 +22,7 @@ Write values in tracker and check the actual values are written
on the files. Note that these tests are highly platform dependant.
"""
import os
+import sys
import time
from common.utils.extractor import get_tracker_extract_jsonld_output
@@ -155,4 +156,7 @@ class WritebackBasicDataTest (CommonTrackerWritebackTest):
# self.__writeback_hasTag_test (self.get_test_filename_png (), "image/png")
if __name__ == "__main__":
+ print("FIXME: This test is skipped as it currently fails. See:
https://gitlab.gnome.org/GNOME/tracker-miners/issues/55")
+ sys.exit(77)
+
ut.main (failfast=True)
diff --git a/tests/functional-tests/501-writeback-details.py b/tests/functional-tests/501-writeback-details.py
index 90a8b80c9..6736410ce 100755
--- a/tests/functional-tests/501-writeback-details.py
+++ b/tests/functional-tests/501-writeback-details.py
@@ -22,6 +22,7 @@ from common.utils.extractor import get_tracker_extract_jsonld_output
from common.utils.helpers import log
import unittest as ut
import os
+import sys
import time
REASONABLE_TIMEOUT = 5 # Seconds we wait for tracker-writeback to do the work
@@ -105,4 +106,7 @@ class WritebackKeepDateTest (CommonTrackerWritebackTest):
if __name__ == "__main__":
+ print("FIXME: This test is skipped as it currently fails. See:
https://gitlab.gnome.org/GNOME/tracker-miners/issues/55")
+ sys.exit(77)
+
ut.main ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]