Author: pderop
Date: Mon May 24 12:42:40 2010
New Revision: 947623
URL: http://svn.apache.org/viewvc?rev=947623&view=rev
Log:
added a work around for issue FELIX-1545
Modified:
felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/annotation/FactoryConfigurationAdapterAnnotationTest.java
Modified:
felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/annotation/FactoryConfigurationAdapterAnnotationTest.java
URL:
http://svn.apache.org/viewvc/felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/annotation/FactoryConfigurationAdapterAnnotationTest.java?rev=947623&r1=947622&r2=947623&view=diff
==============================================================================
---
felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/annotation/FactoryConfigurationAdapterAnnotationTest.java
(original)
+++
felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/annotation/FactoryConfigurationAdapterAnnotationTest.java
Mon May 24 12:42:40 2010
@@ -82,13 +82,13 @@ public class FactoryConfigurationAdapter
// Wait for the ServiceProvider activation.
m_ensure.waitForStep(2, 10000);
// Avoid bug in CM (FELIX-1545), which may miss some updates
- sleep(1);
+ sleep(50);
// Update conf
cf.update(new Hashtable() {{ put("foo", "bar2"); }});
// Wait for effective update
m_ensure.waitForStep(4, 10000);
// Avoid bug in CM (FELIX-1545), which may miss some updates
- sleep(1);
+ sleep(50);
// Remove configuration.
cf.delete();
// Check if ServiceProvider has been stopped.