summaryrefslogtreecommitdiff
path: root/js/test
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2015-09-03 10:47:43 +0200
committerJose <jose@zeroc.com>2015-09-03 10:47:43 +0200
commit8d09d63110e624d7fc99f86c063fe02ae625da50 (patch)
treeac8845c03796e773da903a652bad5edf472a1b22 /js/test
parentUse apply with null object to call setTimeout (diff)
downloadice-8d09d63110e624d7fc99f86c063fe02ae625da50.tar.bz2
ice-8d09d63110e624d7fc99f86c063fe02ae625da50.tar.xz
ice-8d09d63110e624d7fc99f86c063fe02ae625da50.zip
Fix ICE-6772 - Ice/promise failure
Diffstat (limited to 'js/test')
-rw-r--r--js/test/Ice/promise/Client.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/test/Ice/promise/Client.js b/js/test/Ice/promise/Client.js
index d5e2637ed02..bcc42aa9550 100644
--- a/js/test/Ice/promise/Client.js
+++ b/js/test/Ice/promise/Client.js
@@ -831,7 +831,7 @@
function(i)
{
test(i == 10);
- test(Date.now() - start >= 475 && Date.now() - start <= 525);
+ test(Date.now() - start >= 450 && Date.now() - start <= 650);
}
).exception(
function(ex)
@@ -850,7 +850,7 @@
function(i)
{
test(i == 10);
- test(Date.now() - start >= 475 && Date.now() - start <= 525);
+ test(Date.now() - start >= 450 && Date.now() - start <= 650);
}
).exception(
function(ex)
@@ -875,7 +875,7 @@
function(ex)
{
test(ex == "failed");
- test(Date.now() - start >= 475 && Date.now() - start <= 525);
+ test(Date.now() - start >= 450 && Date.now() - start <= 650);
out.writeLine("ok");
promise.succeed();
}