Increasing the timeout to 10s as Internet Explorer does not timeout in 1s in loadError test
authorJaroslav Tulach <jaroslav.tulach@apidesign.org>
Sun, 14 Dec 2014 19:03:28 +0100
changeset 1752c5157116bbc4
parent 1751 f91eb8500d18
child 1753 c5d49e70e992
Increasing the timeout to 10s as Internet Explorer does not timeout in 1s in loadError test
launcher/fx/src/main/java/org/apidesign/bck2brwsr/launcher/fximpl/Console.java
launcher/http/src/main/java/org/apidesign/bck2brwsr/launcher/impl/Console.java
     1.1 --- a/launcher/fx/src/main/java/org/apidesign/bck2brwsr/launcher/fximpl/Console.java	Sun Dec 14 19:02:46 2014 +0100
     1.2 +++ b/launcher/fx/src/main/java/org/apidesign/bck2brwsr/launcher/fximpl/Console.java	Sun Dec 14 19:03:28 2014 +0100
     1.3 @@ -174,7 +174,7 @@
     1.4                  } else {
     1.5                      log("Processing \"" + arr[0] + "\" for " + retries + " time");
     1.6                  }
     1.7 -                Object result = retries++ >= 10 ? "java.lang.InterruptedException:timeout" : c.runTest();
     1.8 +                Object result = retries++ >= 100 ? "java.lang.InterruptedException:timeout(" + retries + ")" : c.runTest();
     1.9                  finishTest(c, result);
    1.10                  
    1.11                  String u = url + "?request=" + c.getRequestId() + "&result=" + result;
     2.1 --- a/launcher/http/src/main/java/org/apidesign/bck2brwsr/launcher/impl/Console.java	Sun Dec 14 19:02:46 2014 +0100
     2.2 +++ b/launcher/http/src/main/java/org/apidesign/bck2brwsr/launcher/impl/Console.java	Sun Dec 14 19:03:28 2014 +0100
     2.3 @@ -171,7 +171,7 @@
     2.4                  } else {
     2.5                      log("Processing \"" + arr[0] + "\" for " + retries + " time");
     2.6                  }
     2.7 -                Object result = retries++ >= 10 ? "java.lang.InterruptedException:timeout" : c.runTest();
     2.8 +                Object result = retries++ >= 100 ? "java.lang.InterruptedException:timeout(" + retries + ")" : c.runTest();
     2.9                  finishTest(c, result);
    2.10                  
    2.11                  String u = url + "?request=" + c.getRequestId() + "&result=" + result;