[tracker-miners] functional-tests: Honour TRACKER_TESTS_AWAIT_TIMEOUT correctly



commit 1ededf84ff8a194396737167ee6c9b89da1438cd
Author: Sam Thursfield <sam afuera me uk>
Date:   Mon Jul 6 13:13:35 2020 +0200

    functional-tests: Honour TRACKER_TESTS_AWAIT_TIMEOUT correctly
    
    When adding configurable timeouts to deal with
    https://gitlab.gnome.org/GNOME/tracker-miners/-/issues/110
    I missed one place.

 tests/functional-tests/miner-basic.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/tests/functional-tests/miner-basic.py b/tests/functional-tests/miner-basic.py
index 7c5a5d687..33f7afbd3 100755
--- a/tests/functional-tests/miner-basic.py
+++ b/tests/functional-tests/miner-basic.py
@@ -61,7 +61,8 @@ class MinerCrawlTest(fixtures.TrackerMinerTest):
             for tf in monitored_files:
                 url = self.uri(tf)
                 self.tracker.ensure_resource(fixtures.DOCUMENTS_GRAPH,
-                                             f"a nfo:Document ; nie:isStoredAs <{url}>")
+                                             f"a nfo:Document ; nie:isStoredAs <{url}>",
+                                             timeout=cfg.AWAIT_TIMEOUT)
         except Exception:
             cfg.remove_monitored_test_dir(self.workdir)
             raise


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]