[tracker] functional-tests: Disable optical & removable indexing for tests
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] functional-tests: Disable optical & removable indexing for tests
- Date: Wed, 17 Aug 2011 10:18:54 +0000 (UTC)
commit 55ca6357e9eaa2aa8fbdf2d373cde6b5925d600e
Author: Sam Thursfield <samthursfield codethink co uk>
Date: Tue Aug 16 13:52:47 2011 +0100
functional-tests: Disable optical & removable indexing for tests
.../common/utils/applicationstest.py | 2 ++
tests/functional-tests/common/utils/minertest.py | 2 ++
.../functional-tests/common/utils/writebacktest.py | 2 ++
3 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/tests/functional-tests/common/utils/applicationstest.py b/tests/functional-tests/common/utils/applicationstest.py
index cad8217..222a392 100644
--- a/tests/functional-tests/common/utils/applicationstest.py
+++ b/tests/functional-tests/common/utils/applicationstest.py
@@ -31,6 +31,8 @@ APPLICATIONS_TMP_DIR = os.path.join (cfg.TEST_TMP_DIR, "test-applications-monito
CONF_OPTIONS = [
(cfg.DCONF_MINER_SCHEMA, "index-recursive-directories", [APPLICATIONS_TMP_DIR]),
(cfg.DCONF_MINER_SCHEMA, "index-single-directories", "[]"),
+ (cfg.DCONF_MINER_SCHEMA, "index-optical-discs", "false"),
+ (cfg.DCONF_MINER_SCHEMA, "index-removable-devices", "false")
]
# Copy rate, 10KBps (1024b/100ms)
diff --git a/tests/functional-tests/common/utils/minertest.py b/tests/functional-tests/common/utils/minertest.py
index 7e2750b..fac3b35 100644
--- a/tests/functional-tests/common/utils/minertest.py
+++ b/tests/functional-tests/common/utils/minertest.py
@@ -39,6 +39,8 @@ DEFAULT_TEXT = "Some stupid content, to have a test file"
CONF_OPTIONS = [
(cfg.DCONF_MINER_SCHEMA, "index-recursive-directories", [os.path.join (BASEDIR, "test-monitored")]),
(cfg.DCONF_MINER_SCHEMA, "index-single-directories", "[]"),
+ (cfg.DCONF_MINER_SCHEMA, "index-optical-discs", "false"),
+ (cfg.DCONF_MINER_SCHEMA, "index-removable-devices", "false"),
(cfg.DCONF_MINER_SCHEMA, "throttle", 5)
]
diff --git a/tests/functional-tests/common/utils/writebacktest.py b/tests/functional-tests/common/utils/writebacktest.py
index 188436d..7a0200d 100644
--- a/tests/functional-tests/common/utils/writebacktest.py
+++ b/tests/functional-tests/common/utils/writebacktest.py
@@ -33,6 +33,8 @@ TEST_FILE_PNG = "writeback-test-4.png"
CONF_OPTIONS = [
(cfg.DCONF_MINER_SCHEMA, "index-recursive-directories", [BASEDIR]),
(cfg.DCONF_MINER_SCHEMA, "index-single-directories", "[]"),
+ (cfg.DCONF_MINER_SCHEMA, "index-optical-discs", "false"),
+ (cfg.DCONF_MINER_SCHEMA, "index-removable-devices", "false")
]
def uri (filename):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]