summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2019-09-04 15:12:56 +0200
committerBenoit Foucher <benoit@zeroc.com>2019-09-04 15:12:56 +0200
commit7b498dd62dde372cdc586e94c9a98c3ec89157b6 (patch)
tree3bc3d853a0aa76bb1526b6b212a7629326c5e6bf /python
parentFixed Ice/retry test timing (diff)
downloadice-7b498dd62dde372cdc586e94c9a98c3ec89157b6.tar.bz2
ice-7b498dd62dde372cdc586e94c9a98c3ec89157b6.tar.xz
ice-7b498dd62dde372cdc586e94c9a98c3ec89157b6.zip
Fixed Ice/acm test waitForClose timing
Diffstat (limited to 'python')
-rw-r--r--python/test/Ice/acm/AllTests.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/python/test/Ice/acm/AllTests.py b/python/test/Ice/acm/AllTests.py
index 4b2479b5dd2..56dd17e7ebb 100644
--- a/python/test/Ice/acm/AllTests.py
+++ b/python/test/Ice/acm/AllTests.py
@@ -128,8 +128,8 @@ class TestCase(threading.Thread):
with self.m:
while not self._closed:
now = time.time()
- self.m.wait(2.0) # Wait 2s
- if time.time() - now > 2:
+ self.m.wait(30.0) # Wait 30s
+ if time.time() - now > 30.0:
test(False)
def runTestCase(self, adapter, proxy):
@@ -218,8 +218,6 @@ def allTests(helper, communicator):
self.setClientACM(1, 1, 0) # Only close on idle.
def runTestCase(self, adapter, proxy):
- time.sleep(3) # Idle for 3 seconds
-
self.waitForClosed()
with self.m:
@@ -256,8 +254,6 @@ def allTests(helper, communicator):
test(not self._closed) # Not closed yet because of graceful close.
adapter.activate()
- time.sleep(1)
-
self.waitForClosed()
class ForcefulCloseOnIdleAndInvocationTest(TestCase):
@@ -267,8 +263,6 @@ def allTests(helper, communicator):
def runTestCase(self, adapter, proxy):
adapter.hold()
- time.sleep(3) # Idle for 3 seconds
-
self.waitForClosed()
with self.m: