Configuration and Auto-Certificates
[aaf/authz.git] / cadi / client / src / test / java / org / onap / aaf / cadi / locator / test / JU_PropertyLocator.java
index b7558c0..024deff 100644 (file)
@@ -81,6 +81,7 @@ public class JU_PropertyLocator {
                assertThat(pl.hasItems(), is(false));
                assertThat(countItems(pl), is(0));
 
+               Thread.sleep(20L); // PL checks same milli...
                pl.refresh();
 
                assertThat(pl.hasItems(), is(true));
@@ -96,6 +97,7 @@ public class JU_PropertyLocator {
                pl.destroy();
 
                pl = new PropertyLocator(uris);
+               
        }
 
        @Test(expected=LocatorException.class)