Author: ngn
Date: Fri Dec  4 10:46:37 2009
New Revision: 887153

URL: http://svn.apache.org/viewvc?rev=887153&view=rev
Log:
Allow for some extra time for setting up the server for integration tests

Modified:
    
mina/sandbox/vysper/trunk/server/core/src/test/java/org/apache/vysper/xmpp/modules/extension/xep0199_xmppping/AbstractIntegrationTestCase.java

Modified: 
mina/sandbox/vysper/trunk/server/core/src/test/java/org/apache/vysper/xmpp/modules/extension/xep0199_xmppping/AbstractIntegrationTestCase.java
URL: 
http://svn.apache.org/viewvc/mina/sandbox/vysper/trunk/server/core/src/test/java/org/apache/vysper/xmpp/modules/extension/xep0199_xmppping/AbstractIntegrationTestCase.java?rev=887153&r1=887152&r2=887153&view=diff
==============================================================================
--- 
mina/sandbox/vysper/trunk/server/core/src/test/java/org/apache/vysper/xmpp/modules/extension/xep0199_xmppping/AbstractIntegrationTestCase.java
 (original)
+++ 
mina/sandbox/vysper/trunk/server/core/src/test/java/org/apache/vysper/xmpp/modules/extension/xep0199_xmppping/AbstractIntegrationTestCase.java
 Fri Dec  4 10:46:37 2009
@@ -93,6 +93,9 @@
         server.start();
 
         addModules(server);
+        
+        // allow for the server to bootstrap
+        Thread.sleep(200);
     }
     
     protected XMPPConnection connectClient(int port, String username, String 
password) throws Exception {
@@ -167,6 +170,7 @@
         }
 
         try {
+               System.out.println("Test teardown, stopping server");
             server.stop();
         } catch(Exception ignored) {
             ;


Reply via email to