[tracker-miners/wip/carlosg/test] foo




commit 70b1f6a57278c5989efc922cacc6df19809980a9
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Oct 23 16:27:49 2020 +0200

    foo

 tests/functional-tests/meson.build    | 1 +
 tests/functional-tests/miner-basic.py | 2 ++
 2 files changed, 3 insertions(+)
---
diff --git a/tests/functional-tests/meson.build b/tests/functional-tests/meson.build
index 7f1f5a7b7..9763471a6 100644
--- a/tests/functional-tests/meson.build
+++ b/tests/functional-tests/meson.build
@@ -159,6 +159,7 @@ endif
 
 test_env.prepend('PYTHONPATH', tracker_uninstalled_testutils_dir)
 test_env.set('TRACKER_FUNCTIONAL_TEST_CONFIG', config_json_full_path)
+test_env.prepend('TRACKER_DEBUG', 'sparql,monitors,decorator')
 
 foreach t: extractor_tests
   data = join_paths('test-extraction-data', t) + '.expected.json'
diff --git a/tests/functional-tests/miner-basic.py b/tests/functional-tests/miner-basic.py
index ad386ca72..ecd25e314 100755
--- a/tests/functional-tests/miner-basic.py
+++ b/tests/functional-tests/miner-basic.py
@@ -362,6 +362,8 @@ class MinerCrawlTest(fixtures.TrackerMinerTest):
         resource_id = self.tracker.get_content_resource_id(directory_uri)
         urn = self.__get_file_urn(directory)
 
+        time.sleep(5)
+
         with self.await_document_inserted(document) as resource:
             # Force an update on the monitored folder, it needs both
             # a explicit request, and an attribute change (obtained


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