commit | 2fe078b104b7b43cd4038837db69c970aa9933cd | [log] [tgz] |
---|---|---|
author | Christofer Dutz <christofer.dutz@codecentric.de> | Wed Jun 29 14:00:35 2016 +0200 |
committer | Christofer Dutz <christofer.dutz@codecentric.de> | Wed Jun 29 14:00:35 2016 +0200 |
tree | 1a00eec406bb0218fc8ca1b28b69be8f7c504d31 | |
parent | 9816c089878b0331e7488e6be43356a869148dcc [diff] |
- Removed duplicate waiting positions ...
diff --git a/testsuite/src/test/java/flex/messaging/io/amf/client/AMFConnectionIT.java b/testsuite/src/test/java/flex/messaging/io/amf/client/AMFConnectionIT.java index a35f24a..b0d2830 100644 --- a/testsuite/src/test/java/flex/messaging/io/amf/client/AMFConnectionIT.java +++ b/testsuite/src/test/java/flex/messaging/io/amf/client/AMFConnectionIT.java
@@ -114,9 +114,6 @@ if(serverPort == -1) { Assert.fail("Couldn't start server process"); } - // Give the "server" some time to startup. - Thread.sleep(3000L); - AMFConnection.registerAlias( "remoting.amfclient.ServerCustomType" /* server type */, "amfclient.ClientCustomType" /* client type */);
diff --git a/testsuite/src/test/java/flex/messaging/io/amf/client/AMFDataTypeIT.java b/testsuite/src/test/java/flex/messaging/io/amf/client/AMFDataTypeIT.java index a2a44bc..778134b 100644 --- a/testsuite/src/test/java/flex/messaging/io/amf/client/AMFDataTypeIT.java +++ b/testsuite/src/test/java/flex/messaging/io/amf/client/AMFDataTypeIT.java
@@ -97,9 +97,6 @@ if(serverPort == -1) { Assert.fail("Couldn't start server process"); } - // Give the "server" some time to startup. - Thread.sleep(3000L); - AMFConnection.registerAlias( "remoting.amfclient.ServerCustomType" /* server type */, "amfclient.ClientCustomType" /* client type */);
diff --git a/testsuite/src/test/java/flex/messaging/util/TestServer.java b/testsuite/src/test/java/flex/messaging/util/TestServer.java index 5883f3a..beb9320 100644 --- a/testsuite/src/test/java/flex/messaging/util/TestServer.java +++ b/testsuite/src/test/java/flex/messaging/util/TestServer.java
@@ -53,7 +53,7 @@ try { serverProcess = processBuilder.start(); // Give the server some time to ramp up. - Thread.sleep(500); + Thread.sleep(3000); System.out.println("STARTED"); return port; } catch (IOException e) {