1.1 --- a/ko-felix-test/src/test/java/org/netbeans/html/ko/felix/test/KOFx.java Fri Dec 12 12:37:58 2014 +0100
1.2 +++ b/ko-felix-test/src/test/java/org/netbeans/html/ko/felix/test/KOFx.java Sun Dec 14 14:36:30 2014 +0100
1.3 @@ -46,10 +46,7 @@
1.4 import java.io.IOException;
1.5 import java.lang.reflect.InvocationTargetException;
1.6 import java.lang.reflect.Method;
1.7 -import java.util.logging.Level;
1.8 -import java.util.logging.Logger;
1.9 import javafx.application.Platform;
1.10 -import org.netbeans.html.boot.spi.Fn;
1.11 import org.testng.ITest;
1.12 import org.testng.annotations.Test;
1.13
1.14 @@ -106,6 +103,11 @@
1.15 if (r instanceof InterruptedException) {
1.16 if (count++ < 10000) {
1.17 notify = false;
1.18 + try {
1.19 + Thread.sleep(100);
1.20 + } catch (Exception ex1) {
1.21 + // ignore and continue
1.22 + }
1.23 Platform.runLater(this);
1.24 return;
1.25 }
2.1 --- a/ko-osgi-test/src/test/java/org/netbeans/html/ko/osgi/test/KOFx.java Fri Dec 12 12:37:58 2014 +0100
2.2 +++ b/ko-osgi-test/src/test/java/org/netbeans/html/ko/osgi/test/KOFx.java Sun Dec 14 14:36:30 2014 +0100
2.3 @@ -46,10 +46,7 @@
2.4 import java.io.IOException;
2.5 import java.lang.reflect.InvocationTargetException;
2.6 import java.lang.reflect.Method;
2.7 -import java.util.logging.Level;
2.8 -import java.util.logging.Logger;
2.9 import javafx.application.Platform;
2.10 -import org.netbeans.html.boot.spi.Fn;
2.11 import org.testng.ITest;
2.12 import org.testng.annotations.Test;
2.13
2.14 @@ -106,6 +103,11 @@
2.15 if (r instanceof InterruptedException) {
2.16 if (count++ < 10000) {
2.17 notify = false;
2.18 + try {
2.19 + Thread.sleep(100);
2.20 + } catch (Exception ex1) {
2.21 + // ignore and continue
2.22 + }
2.23 Platform.runLater(this);
2.24 return;
2.25 }
3.1 --- a/ko-ws-tyrus/src/test/java/org/netbeans/html/wstyrus/TyrusFX.java Fri Dec 12 12:37:58 2014 +0100
3.2 +++ b/ko-ws-tyrus/src/test/java/org/netbeans/html/wstyrus/TyrusFX.java Sun Dec 14 14:36:30 2014 +0100
3.3 @@ -102,6 +102,11 @@
3.4 if (r instanceof InterruptedException) {
3.5 if (count++ < 10000) {
3.6 notify = false;
3.7 + try {
3.8 + Thread.sleep(100);
3.9 + } catch (Exception ex1) {
3.10 + // ignore and continue
3.11 + }
3.12 Platform.runLater(this);
3.13 return;
3.14 }
4.1 --- a/ko4j/src/test/java/org/netbeans/html/ko4j/KOFx.java Fri Dec 12 12:37:58 2014 +0100
4.2 +++ b/ko4j/src/test/java/org/netbeans/html/ko4j/KOFx.java Sun Dec 14 14:36:30 2014 +0100
4.3 @@ -105,6 +105,11 @@
4.4 if (r instanceof InterruptedException) {
4.5 if (count++ < 10000) {
4.6 notify = false;
4.7 + try {
4.8 + Thread.sleep(100);
4.9 + } catch (Exception ex1) {
4.10 + // ignore and continue
4.11 + }
4.12 Platform.runLater(this);
4.13 return;
4.14 }