[tracker-miners/sam/writeback-test-fix: 5/5] functional-tests/410-extractor-decorator: Disable writeback during test



commit 270a1f1455f0adced8052f77f0d61669113b3d60
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]