Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlyn Normington2012-11-13 06:21:48 -0500
committerGlyn Normington2012-11-13 06:21:48 -0500
commit983600aa9624570b6deb70f36fcd431f741207c8 (patch)
treea6c37008e4be31a66820d177b3c2b707ce95fd0d
parent06bdd64f778020254fd0af8419f4be77c8ed3c11 (diff)
downloadorg.eclipse.virgo.kernel-983600aa9624570b6deb70f36fcd431f741207c8.tar.gz
org.eclipse.virgo.kernel-983600aa9624570b6deb70f36fcd431f741207c8.tar.xz
org.eclipse.virgo.kernel-983600aa9624570b6deb70f36fcd431f741207c8.zip
avoid race
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/ImportPromotionTests.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/ImportPromotionTests.java b/org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/ImportPromotionTests.java
index 189be03a..b3ff8f93 100644
--- a/org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/ImportPromotionTests.java
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/ImportPromotionTests.java
@@ -33,6 +33,7 @@ public class ImportPromotionTests extends AbstractParTests {
deploy(par);
assertNotNull(ApplicationContextUtils.getApplicationContext(this.context, BUNDLE_SYMBOLIC_NAME));
this.deployer.refresh(par.toURI(), "ImporterA");
+ Thread.sleep(100); // wait for application context to be published
assertNotNull(ApplicationContextUtils.getApplicationContext(this.context, BUNDLE_SYMBOLIC_NAME));
}

Back to the top