commit | b3adf8380183a565f8a695211104b948207eaf0b | [log] [tgz] |
---|---|---|
author | Pierre De Rop <pderop@apache.org> | Mon May 10 21:40:09 2010 +0000 |
committer | Pierre De Rop <pderop@apache.org> | Mon May 10 21:40:09 2010 +0000 |
tree | c52ec01cd31e4198e370dc2bc92e44331c44703c | |
parent | 22f4901d305e20d5453078b48a510a56e2112b6a [diff] |
Reorganized annotation packages - Avoid bug from CM (FELIX-1545), which may miss some conf updates. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@942916 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/test/src/test/java/org/apache/felix/dm/test/FactoryConfigurationAdapterTest.java b/dependencymanager/test/src/test/java/org/apache/felix/dm/test/FactoryConfigurationAdapterTest.java index 0cef411..2429e63 100644 --- a/dependencymanager/test/src/test/java/org/apache/felix/dm/test/FactoryConfigurationAdapterTest.java +++ b/dependencymanager/test/src/test/java/org/apache/felix/dm/test/FactoryConfigurationAdapterTest.java
@@ -145,11 +145,16 @@ Properties props = new Properties(); props.put(key, val); try { + // Avoid bug from FELIX-1545 + Thread.sleep(500); m_conf.update(props); } catch (IOException e) { Assert.fail("Could not update configuration: " + e.getMessage()); } + catch (InterruptedException e) + { + } } public void stop() {