[tracker-miners/tracker-miners-2.2: 18/47] functional-tests/410-extractor-decorator: Disable writeback during test



commit eae3b12e9c78ca1e9660e10f2d2440221aaa64ad
Author: Sam Thursfield <sam afuera me uk>
Date:   Sun Jun 23 15:15:40 2019 +0200

    functional-tests/410-extractor-decorator: Disable writeback during test
    
    The test relies on the file not changing, but the writeback daemon of
    course changes the file. This test was working before because writeback
    itself was broken.

 tests/functional-tests/410-extractor-decorator.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/tests/functional-tests/410-extractor-decorator.py 
b/tests/functional-tests/410-extractor-decorator.py
index a5f3050dc..459872ab8 100755
--- a/tests/functional-tests/410-extractor-decorator.py
+++ b/tests/functional-tests/410-extractor-decorator.py
@@ -54,6 +54,7 @@ class ExtractorDecoratorTest(ut.TestCase):
 
         config = {
             cfg.DCONF_MINER_SCHEMA: {
+                'enable-writeback': GLib.Variant.new_boolean(False),
                 'index-recursive-directories': GLib.Variant.new_strv([]),
                 'index-single-directories': GLib.Variant.new_strv([self.datadir]),
                 'index-optical-discs': GLib.Variant.new_boolean(False),


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