summaryrefslogtreecommitdiff
path: root/js/test/Ice/timeout/Client.js
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-03-28 15:54:01 +0200
committerJose <jose@zeroc.com>2018-03-28 15:54:01 +0200
commit3bbd2dccf9f0a94bfbf8dd2ee7deed529ecdd23c (patch)
tree072afbf69f327a2d44e9b53f61a809602df102e6 /js/test/Ice/timeout/Client.js
parentEnabled SSL testing on macOS/C#, minor JS hold fix to test for sent (diff)
downloadice-3bbd2dccf9f0a94bfbf8dd2ee7deed529ecdd23c.tar.bz2
ice-3bbd2dccf9f0a94bfbf8dd2ee7deed529ecdd23c.tar.xz
ice-3bbd2dccf9f0a94bfbf8dd2ee7deed529ecdd23c.zip
Workaround for IE connection error
Test can fail in IE if there is too many connection failures in a row adding a delay helps prevent that.
Diffstat (limited to 'js/test/Ice/timeout/Client.js')
-rw-r--r--js/test/Ice/timeout/Client.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/test/Ice/timeout/Client.js b/js/test/Ice/timeout/Client.js
index 4c1bab75b6f..b8615f724e2 100644
--- a/js/test/Ice/timeout/Client.js
+++ b/js/test/Ice/timeout/Client.js
@@ -160,6 +160,9 @@
}
out.writeLine("ok");
+ // Small delay is useful for IE which doesn't like too many connection failures in a row
+ await Ice.Promise.delay(500);
+
out.write("testing close timeout... ");
{
let to = Test.TimeoutPrx.uncheckedCast(obj.ice_timeout(500));