diff options
author | Benoit Foucher <benoit@zeroc.com> | 2017-06-14 17:10:27 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2017-06-14 17:10:27 +0200 |
commit | 84af8b7b10f70ed5b31485ace4f6576411e4a736 (patch) | |
tree | 4205789d8f0db9050eea40747b1a603ef1761716 /objective-c | |
parent | Fixed iOS build failure with Ice/timeout test (diff) | |
download | ice-84af8b7b10f70ed5b31485ace4f6576411e4a736.tar.bz2 ice-84af8b7b10f70ed5b31485ace4f6576411e4a736.tar.xz ice-84af8b7b10f70ed5b31485ace4f6576411e4a736.zip |
Fixed ICE-8031 - invocation timeout test failure
Diffstat (limited to 'objective-c')
-rw-r--r-- | objective-c/test/Ice/timeout/AllTests.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/objective-c/test/Ice/timeout/AllTests.m b/objective-c/test/Ice/timeout/AllTests.m index 4767ba721d7..a8dd36be432 100644 --- a/objective-c/test/Ice/timeout/AllTests.m +++ b/objective-c/test/Ice/timeout/AllTests.m @@ -234,7 +234,7 @@ timeoutAllTests(id<ICECommunicator> communicator) // id<TestTimeoutTimeoutPrx> to = [TestTimeoutTimeoutPrx uncheckedCast:[[obj ice_invocationTimeout:-2] ice_timeout:250]]; - id<ICEConnection> con = [to ice_getConnection]; + id<ICEConnection> con = connectPrx(to); @try { [to sleep:500]; @@ -256,7 +256,7 @@ timeoutAllTests(id<ICECommunicator> communicator) @try { - con = [to ice_getConnection]; + con = connectPrx(to); [to end_sleep:[to begin_sleep:750]]; test(NO); } |