diff options
Diffstat (limited to 'feature-server-pool/src/test/java')
-rw-r--r-- | feature-server-pool/src/test/java/org/onap/policy/drools/serverpooltest/Test1.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/feature-server-pool/src/test/java/org/onap/policy/drools/serverpooltest/Test1.java b/feature-server-pool/src/test/java/org/onap/policy/drools/serverpooltest/Test1.java index 2178fec1..ad4ba8e8 100644 --- a/feature-server-pool/src/test/java/org/onap/policy/drools/serverpooltest/Test1.java +++ b/feature-server-pool/src/test/java/org/onap/policy/drools/serverpooltest/Test1.java @@ -434,9 +434,10 @@ public class Test1 { newReceiver.getServerStatic().getThisServer().getUuid().toString()); logger.info(bos.toString()); - // poll up to 10 seconds for the bucket to be updated + // poll up to 5 minutes for the bucket to be updated TestDroolsObject matchingObject = new TestDroolsObject(message); - await().atMost(50000L, TimeUnit.MILLISECONDS) + await().atMost(5, TimeUnit.MINUTES) + .with().pollInterval(Durations.ONE_SECOND) .until(() -> (new ArrayList<Object>(newReceiver.getKieSession().getObjects()) .contains(matchingObject))); |