[tracker-miners/wip/carlosg/test] foo
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/test] foo
- Date: Fri, 23 Oct 2020 14:41:00 +0000 (UTC)
commit 1a5cfd7e332fddf20758f4ddd99647cff5e7a6a7
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..79196e2ae 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')
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]