incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1086951 - /sling/trunk/bundles/extensions/event/src/test/java/org/apache/sling/event/impl/RepositoryTestUtil.java
Date Wed, 30 Mar 2011 13:35:36 GMT
Author: cziegeler
Date: Wed Mar 30 13:35:36 2011
New Revision: 1086951

URL: http://svn.apache.org/viewvc?rev=1086951&view=rev
Log:
Add sleep after shutdown to give the repository time to really shutdown before the next test
starts

Modified:
    sling/trunk/bundles/extensions/event/src/test/java/org/apache/sling/event/impl/RepositoryTestUtil.java

Modified: sling/trunk/bundles/extensions/event/src/test/java/org/apache/sling/event/impl/RepositoryTestUtil.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/event/src/test/java/org/apache/sling/event/impl/RepositoryTestUtil.java?rev=1086951&r1=1086950&r2=1086951&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/event/src/test/java/org/apache/sling/event/impl/RepositoryTestUtil.java
(original)
+++ sling/trunk/bundles/extensions/event/src/test/java/org/apache/sling/event/impl/RepositoryTestUtil.java
Wed Mar 30 13:35:36 2011
@@ -62,6 +62,9 @@ public class RepositoryTestUtil {
             adminSession = null;
         }
         repository = null;
+        try {
+            Thread.sleep(2000);
+        } catch (final InterruptedException ie) {}
     }
 
     public static Session getAdminSession() {



Mime
View raw message