aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Luc Lamadon <jean-luc.lamadon@nokia.com>2009-10-06 17:02:52 +0300
committerJean-Luc Lamadon <jean-luc.lamadon@nokia.com>2009-10-06 17:02:52 +0300
commit4ab633a6a20969988c57deae0cb07e9539566e15 (patch)
tree6add37f9842253d6b23a1808ea7892addbdb17ec
parent804803c262082310c211113bbefeef33e00adb28 (diff)
customer tests asynchronicity.py: Increased sleep time for slow provider
-rwxr-xr-xlibcontextsubscriber/customer-tests/asynchronicity/asynchronicity.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/libcontextsubscriber/customer-tests/asynchronicity/asynchronicity.py b/libcontextsubscriber/customer-tests/asynchronicity/asynchronicity.py
index e8d40664..6e99b5b8 100755
--- a/libcontextsubscriber/customer-tests/asynchronicity/asynchronicity.py
+++ b/libcontextsubscriber/customer-tests/asynchronicity/asynchronicity.py
@@ -65,7 +65,9 @@ class Asynchronous(unittest.TestCase):
"int","test.fast","44")
provider_fast.expect(CLTool.STDOUT, "Setting key", 10) # wait for it
- provider_slow.send("sleep 3")
+ provider_slow.comment("provider_slow sleep time started at" + str(time.time()))
+
+ provider_slow.send("sleep 6")
provider_slow.expect(CLTool.STDOUT, "Sleeping", 3) # wait for it
context_client = CLTool("context-listen", "test.fast", "test.slow")
@@ -87,6 +89,7 @@ class Asynchronous(unittest.TestCase):
context_client.comment("Slow property arrived with good value at: " + str(slow_time))
if slow_time - fast_time < 2.0:
+ provider_slow.printio()
context_client.printio()
self.assert_(False,
"The arrival time of the fast and slow property is not far enough from each other")