flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cd...@apache.org
Subject flex-blazeds git commit: Added a small delay in the initialization of the server-based tests as it seems on linux based systems the server doesn't come up fast enough.
Date Wed, 12 Nov 2014 14:10:35 GMT
Repository: flex-blazeds
Updated Branches:
  refs/heads/master 2bd9f0a4b -> e94ca246b


Added a small delay in the initialization of the server-based tests as it seems on linux based
systems the server doesn't come up fast enough.


Project: http://git-wip-us.apache.org/repos/asf/flex-blazeds/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-blazeds/commit/e94ca246
Tree: http://git-wip-us.apache.org/repos/asf/flex-blazeds/tree/e94ca246
Diff: http://git-wip-us.apache.org/repos/asf/flex-blazeds/diff/e94ca246

Branch: refs/heads/master
Commit: e94ca246bf93e416fc4444da28cbcd430aca1d51
Parents: 2bd9f0a
Author: Christofer Dutz <christofer.dutz@codecentric.de>
Authored: Wed Nov 12 15:10:29 2014 +0100
Committer: Christofer Dutz <christofer.dutz@codecentric.de>
Committed: Wed Nov 12 15:10:29 2014 +0100

----------------------------------------------------------------------
 .../test/java/flex/messaging/io/amf/client/AMFConnectionTest.java  | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/e94ca246/modules/testsuite/src/test/java/flex/messaging/io/amf/client/AMFConnectionTest.java
----------------------------------------------------------------------
diff --git a/modules/testsuite/src/test/java/flex/messaging/io/amf/client/AMFConnectionTest.java
b/modules/testsuite/src/test/java/flex/messaging/io/amf/client/AMFConnectionTest.java
index 75aba04..621fe1c 100644
--- a/modules/testsuite/src/test/java/flex/messaging/io/amf/client/AMFConnectionTest.java
+++ b/modules/testsuite/src/test/java/flex/messaging/io/amf/client/AMFConnectionTest.java
@@ -116,6 +116,8 @@ public class AMFConnectionTest extends TestCase
         if(serverPort == -1) {
             Assert.fail("Couldn't start server process");
         }
+        // Give the "server" some time to startup.
+        Thread.sleep(200L);
 
         AMFConnection.registerAlias(
                 "remoting.amfclient.ServerCustomType" /* server type */,


Mime
View raw message