diff options
author | Benoit Foucher <benoit@zeroc.com> | 2017-06-28 11:09:37 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2017-06-28 11:09:37 +0200 |
commit | ee1c75b4bba52c04f5da54fa2501d0c88d99c2d1 (patch) | |
tree | 11f5b601c42a89540a379855412a4a7bef8acbce /objective-c | |
parent | More fixes for ICE-8166 - simplified a bit the waitResponse exception checking (diff) | |
download | ice-ee1c75b4bba52c04f5da54fa2501d0c88d99c2d1.tar.bz2 ice-ee1c75b4bba52c04f5da54fa2501d0c88d99c2d1.tar.xz ice-ee1c75b4bba52c04f5da54fa2501d0c88d99c2d1.zip |
Fixed ICE-8166 and ICE-8171 - increased 100ms connection timeouts to 250ms, also increased retryCount for connection establishment
Diffstat (limited to 'objective-c')
-rw-r--r-- | objective-c/test/Ice/timeout/AllTests.m | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/objective-c/test/Ice/timeout/AllTests.m b/objective-c/test/Ice/timeout/AllTests.m index a8dd36be432..bb369870c7a 100644 --- a/objective-c/test/Ice/timeout/AllTests.m +++ b/objective-c/test/Ice/timeout/AllTests.m @@ -81,7 +81,7 @@ id<ICEConnection> connectPrx(id<TestTimeoutTimeoutPrx> prx) { - int nRetry = 5; + int nRetry = 10; while(--nRetry > 0) { @try @@ -153,7 +153,8 @@ timeoutAllTests(id<ICECommunicator> communicator) // Expect TimeoutException. // id<TestTimeoutTimeoutPrx> to = [TestTimeoutTimeoutPrx uncheckedCast:[obj ice_timeout:250]]; - [to holdAdapter:1000]; + connectPrx(to); + [to holdAdapter:750]; @try { [to sendData:seq]; |