sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1240182 - /sling/trunk/installer/it/src/test/java/org/apache/sling/installer/it/BundleInstallUpgradeDowngradeTest.java
Date Fri, 03 Feb 2012 14:14:53 GMT
Author: cziegeler
Date: Fri Feb  3 14:14:53 2012
New Revision: 1240182

URL: http://svn.apache.org/viewvc?rev=1240182&view=rev
Log:
SLING-2402 : The file data store is not synchronized

Modified:
    sling/trunk/installer/it/src/test/java/org/apache/sling/installer/it/BundleInstallUpgradeDowngradeTest.java

Modified: sling/trunk/installer/it/src/test/java/org/apache/sling/installer/it/BundleInstallUpgradeDowngradeTest.java
URL: http://svn.apache.org/viewvc/sling/trunk/installer/it/src/test/java/org/apache/sling/installer/it/BundleInstallUpgradeDowngradeTest.java?rev=1240182&r1=1240181&r2=1240182&view=diff
==============================================================================
--- sling/trunk/installer/it/src/test/java/org/apache/sling/installer/it/BundleInstallUpgradeDowngradeTest.java
(original)
+++ sling/trunk/installer/it/src/test/java/org/apache/sling/installer/it/BundleInstallUpgradeDowngradeTest.java
Fri Feb  3 14:14:53 2012
@@ -161,6 +161,8 @@ public class BundleInstallUpgradeDowngra
                     new BundleEvent(symbolicName, "1.1", org.osgi.framework.BundleEvent.UNINSTALLED));
             assertNull("Test bundle must be gone", findBundle(symbolicName));
         }
+        // let's sleep a little bit to avoid sync problems with the file data store.
+        this.sleep(300);
         {
             final Object listener = this.startObservingBundleEvents();
             installer.updateResources(URL_SCHEME, getInstallableResource(



Mime
View raw message