[tracker-miners/sam/test-runner-fix: 8/19] functional-tests: Fix await_resource_deleted() helper



commit 93320f2db003378b2b30bbb368ada5e411630f2b
Author: Sam Thursfield <sam afuera me uk>
Date:   Fri Jan 4 19:52:02 2019 +0100

    functional-tests: Fix await_resource_deleted() helper
    
    This was failing to set a variable, which meant that it was actually
    ignoring the relevant GraphUpdated events.

 tests/functional-tests/common/utils/helpers.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/tests/functional-tests/common/utils/helpers.py b/tests/functional-tests/common/utils/helpers.py
index 61f879e54..3faa9593d 100644
--- a/tests/functional-tests/common/utils/helpers.py
+++ b/tests/functional-tests/common/utils/helpers.py
@@ -434,6 +434,7 @@ class StoreHelper (Helper):
 
         if not existing_match:
             self._enable_await_timeout ()
+            self.class_to_track = rdf_class
             self.deletes_match_function = match_cb
             # Run the event loop until the correct notification arrives
             try:


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