[conduit: 75/138] Blocking refresh - or test fail will occur



commit 650fe3d81c1623934a3394bc6a19b1b7d0490815
Author: John Carr <john carr unrouted co uk>
Date:   Sun May 3 10:49:27 2009 -0700

    Blocking refresh - or test fail will occur
---
 test/soup/modules/__init__.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/soup/modules/__init__.py b/test/soup/modules/__init__.py
index 8d1a153..43337fa 100644
--- a/test/soup/modules/__init__.py
+++ b/test/soup/modules/__init__.py
@@ -14,14 +14,14 @@ class ModuleWrapper(object):
     def get_num_items(self):
         count = 0
         try:
-            self.dp.refresh()
+            self.dp.refresh(block=True)
             count = self.dp.get_num_items()
         finally:
             self.dp.finish(False, False, False)
         return count
 
     def get_all(self):
-        self.dp.refresh()
+        self.dp.refresh(block=True)
         return self.dp.get_all()
 
     def get(self, uid):



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