Author: bdekruijff at gmail.com
Date: Tue Feb  8 12:39:08 2011
New Revision: 766

Log:
AMDATU-284 Maybe its a race condition with container shutdown

Modified:
   
branches/amdatu-dispatcher/integration-tests/src/test/java/org/amdatu/test/integration/tests/UserAdminRESTTest.java

Modified: 
branches/amdatu-dispatcher/integration-tests/src/test/java/org/amdatu/test/integration/tests/UserAdminRESTTest.java
==============================================================================
--- 
branches/amdatu-dispatcher/integration-tests/src/test/java/org/amdatu/test/integration/tests/UserAdminRESTTest.java
 (original)
+++ 
branches/amdatu-dispatcher/integration-tests/src/test/java/org/amdatu/test/integration/tests/UserAdminRESTTest.java
 Tue Feb  8 12:39:08 2011
@@ -119,5 +119,9 @@
         // -11- Remove the tenant and verify that a GET returns a 404
         m_tenantService.deleteTenant(tenant);
         invokeRestApi(url,  javax.ws.rs.HttpMethod.DELETE, 
HttpStatus.SC_NOT_FOUND);
+        
+        // Prevent shutdown till we are done...
+        Thread.sleep(3000);
+
     }
 }

Reply via email to