Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlyn Normington2011-10-06 05:00:40 -0400
committerGlyn Normington2011-10-06 05:00:40 -0400
commit63bae740a33a448147c8bc0b5bcf6e0d1c5d31c9 (patch)
tree05cb76dc4ccaa4ce1a8f5d50453e902426264181 /org.eclipse.virgo.kernel.deployer.test/src/test/java
parentfc1e3d251d154f9d09168b65cc7ced4ed621c9c3 (diff)
downloadorg.eclipse.virgo.kernel-63bae740a33a448147c8bc0b5bcf6e0d1c5d31c9.tar.gz
org.eclipse.virgo.kernel-63bae740a33a448147c8bc0b5bcf6e0d1c5d31c9.tar.xz
org.eclipse.virgo.kernel-63bae740a33a448147c8bc0b5bcf6e0d1c5d31c9.zip
increase sleeps to avoid intermittent failures (they were observed to be 7ms too short during a ripple)
Diffstat (limited to 'org.eclipse.virgo.kernel.deployer.test/src/test/java')
-rw-r--r--org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/FactoryConfigurationDeploymentTests.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/FactoryConfigurationDeploymentTests.java b/org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/FactoryConfigurationDeploymentTests.java
index 64e57c09..6d2f98f7 100644
--- a/org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/FactoryConfigurationDeploymentTests.java
+++ b/org.eclipse.virgo.kernel.deployer.test/src/test/java/org/eclipse/virgo/kernel/deployer/test/FactoryConfigurationDeploymentTests.java
@@ -267,7 +267,7 @@ public class FactoryConfigurationDeploymentTests extends AbstractDeployerIntegra
writePropertiesFile(hotDeployConfiguration, target, "updated");
// let events propagate and update happen
- sleep(2001);
+ sleep(2501);
assertEquals(1, countFactoryConfigurations(factoryPid));
assertEquals(2, service.updateCount()); // This takes several seconds to change from 1 to 2
assertEquals(0, service.deleteCount());
@@ -356,7 +356,7 @@ public class FactoryConfigurationDeploymentTests extends AbstractDeployerIntegra
assertEquals("1", propertiesFromService.get("prop2"));
writePropertiesFile(configTwo, targetTwo, "initial");
- sleep(2002);
+ sleep(2502);
assertEquals(2, countFactoryConfigurations(factoryPid));
assertEquals(2, service.updateCount());
assertEquals(0, service.deleteCount());

Back to the top