summaryrefslogtreecommitdiff
path: root/swift
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2020-05-15 14:30:57 +0200
committerBenoit Foucher <benoit@zeroc.com>2020-05-15 14:30:57 +0200
commit827fb617431b61f1fe811139f7b7f33beb45dbf0 (patch)
tree5654bd897a56c3487d0bb4cea7ae7bd5c0b4c7d7 /swift
parentAdded synchronization for _sessions data member, fixes #843 (diff)
downloadice-3.7.4.tar.bz2
ice-3.7.4.tar.xz
ice-3.7.4.zip
Bumped sleep time and decreased timeout, fixes #850v3.7.4
Diffstat (limited to 'swift')
-rw-r--r--swift/test/Ice/retry/AllTests.swift7
1 files changed, 3 insertions, 4 deletions
diff --git a/swift/test/Ice/retry/AllTests.swift b/swift/test/Ice/retry/AllTests.swift
index c77f48e9454..ba1eb1bf5c2 100644
--- a/swift/test/Ice/retry/AllTests.swift
+++ b/swift/test/Ice/retry/AllTests.swift
@@ -112,12 +112,11 @@ public func allTests(helper: TestHelper, communicator2: Ice.Communicator, ref: S
// The timeout might occur on connection establishment or because of the sleep. What's
// important here is to make sure there are 4 retries and that no calls succeed to
// ensure retries with the old connection timeout semantics work.
- let retryWithTimeout = retry1.ice_invocationTimeout(-2).ice_timeout(200)
+ let retryWithTimeout = retry1.ice_invocationTimeout(-2).ice_timeout(100)
do {
- try retryWithTimeout.sleep(500)
+ try retryWithTimeout.sleep(1000)
try test(false)
- } catch is Ice.TimeoutException {
- }
+ } catch is Ice.TimeoutException {}
}
output.writeLine("ok")
return retry1