diff options
author | Jose <jose@zeroc.com> | 2015-06-17 21:48:08 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2015-06-17 21:48:08 +0200 |
commit | 064eb1734baf84fee80d6b97d77302a8e495f4bd (patch) | |
tree | 86efb796dffe178cc545ce3192bf9ac95df5af6d | |
parent | The communicator now catch exceptions raised by plugin initialize and raise P... (diff) | |
download | ice-064eb1734baf84fee80d6b97d77302a8e495f4bd.tar.bz2 ice-064eb1734baf84fee80d6b97d77302a8e495f4bd.tar.xz ice-064eb1734baf84fee80d6b97d77302a8e495f4bd.zip |
IE timeout not very accurate
-rw-r--r-- | js/test/Ice/promise/Client.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/test/Ice/promise/Client.js b/js/test/Ice/promise/Client.js index aca2b9a786e..d5e2637ed02 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 >= 500); + test(Date.now() - start >= 475 && Date.now() - start <= 525); } ).exception( function(ex) @@ -850,7 +850,7 @@ function(i) { test(i == 10); - test(Date.now() - start >= 500); + test(Date.now() - start >= 475 && Date.now() - start <= 525); } ).exception( function(ex) @@ -875,7 +875,7 @@ function(ex) { test(ex == "failed"); - test(Date.now() - start >= 500); + test(Date.now() - start >= 475 && Date.now() - start <= 525); out.writeLine("ok"); promise.succeed(); } |