1.1 --- a/boot-script/src/test/java/net/java/html/boot/script/ko4j/KOCase.java Tue Aug 05 18:09:07 2014 +0200
1.2 +++ b/boot-script/src/test/java/net/java/html/boot/script/ko4j/KOCase.java Thu Aug 14 11:43:55 2014 +0200
1.3 @@ -48,6 +48,8 @@
1.4 import java.lang.reflect.Method;
1.5 import java.util.concurrent.Executor;
1.6 import java.util.concurrent.Executors;
1.7 +import java.util.logging.Level;
1.8 +import java.util.logging.Logger;
1.9 import org.apidesign.html.boot.spi.Fn;
1.10 import org.testng.ITest;
1.11 import org.testng.SkipException;
1.12 @@ -109,8 +111,13 @@
1.13 } catch (InvocationTargetException ex) {
1.14 Throwable r = ex.getTargetException();
1.15 if (r instanceof InterruptedException) {
1.16 - if (count++ < 10000) {
1.17 + if (count++ < 1000) {
1.18 notify = false;
1.19 + try {
1.20 + Thread.sleep(30);
1.21 + } catch (InterruptedException ignore) {
1.22 + // just go on
1.23 + }
1.24 JS.execute(this);
1.25 return;
1.26 }