summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--policy-core/src/test/java/org/onap/policy/drools/core/DroolsContainerTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/policy-core/src/test/java/org/onap/policy/drools/core/DroolsContainerTest.java b/policy-core/src/test/java/org/onap/policy/drools/core/DroolsContainerTest.java
index 939de08c..9fe5c708 100644
--- a/policy-core/src/test/java/org/onap/policy/drools/core/DroolsContainerTest.java
+++ b/policy-core/src/test/java/org/onap/policy/drools/core/DroolsContainerTest.java
@@ -188,9 +188,9 @@ public class DroolsContainerTest {
final LinkedBlockingQueue<String> lbq = new LinkedBlockingQueue<>();
executor.execute(() -> lbq.add("DroolsRunnable String"));
- executor.execute(() -> lbq.add("another DroolsRunnable String"));
-
assertEquals("DroolsRunnable String", lbq.poll(TIMEOUT_SEC, TimeUnit.SECONDS));
+
+ executor.execute(() -> lbq.add("another DroolsRunnable String"));
assertEquals("another DroolsRunnable String", lbq.poll(TIMEOUT_SEC, TimeUnit.SECONDS));
} finally {