[tracker/sam/debug-more: 5/8] funtional-tests/ontology-changes: Close connection to avoid warning



commit 4250f6ee9af5d3c0520f5879d7b92349b0607c26
Author: Sam Thursfield <sam afuera me uk>
Date:   Sun Apr 26 01:12:12 2020 +0200

    funtional-tests/ontology-changes: Close connection to avoid warning
    
    This was producing a warning:
    
        Tracker-Message: 01:10:17.225: Could not get size for 'file:///tmp/tracker-test-pvp6ifxn/meta.db', 
Error when getting information for file “/tmp/tracker-test-pvp6ifxn/meta.db”: No such file or directory

 tests/functional-tests/ontology-changes.py | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/tests/functional-tests/ontology-changes.py b/tests/functional-tests/ontology-changes.py
index 8ccb662ab..8a4b5491f 100644
--- a/tests/functional-tests/ontology-changes.py
+++ b/tests/functional-tests/ontology-changes.py
@@ -100,6 +100,8 @@ class OntologyChangeTestTemplate (ut.TestCase):
 
         self.validate_status()
 
+        conn2.close()
+
     def set_ontology_dirs(self):
         """
         Implement this method in the subclass setting values for:


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