aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--policy-management/src/test/java/org/onap/policy/drools/controller/internal/MavenDroolsControllerUpgradesTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/policy-management/src/test/java/org/onap/policy/drools/controller/internal/MavenDroolsControllerUpgradesTest.java b/policy-management/src/test/java/org/onap/policy/drools/controller/internal/MavenDroolsControllerUpgradesTest.java
index 8c8cf977..aa4b2c61 100644
--- a/policy-management/src/test/java/org/onap/policy/drools/controller/internal/MavenDroolsControllerUpgradesTest.java
+++ b/policy-management/src/test/java/org/onap/policy/drools/controller/internal/MavenDroolsControllerUpgradesTest.java
@@ -150,8 +150,9 @@ public class MavenDroolsControllerUpgradesTest {
assertTrue(running2a.await(30, TimeUnit.SECONDS));
assertTrue(running2b.await(30, TimeUnit.SECONDS));
+ assertTrue(running1b.await(30, TimeUnit.SECONDS));
summary();
- assertKie(Arrays.asList("run-drools-runnable", "SETUP.1", "VERSION.12", "SETUP.2", "VERSION.2"), 2);
+ assertKie(Arrays.asList("run-drools-runnable", "SETUP.1", "VERSION.12", "SETUP.2", "VERSION.2"), 1);
controller.updateToVersion(
rulesDescriptor1.getGroupId(),
@@ -159,7 +160,6 @@ public class MavenDroolsControllerUpgradesTest {
rulesDescriptor1.getVersion(),
null, null);
- assertTrue(running1b.await(30, TimeUnit.SECONDS));
summary();
assertKie(Arrays.asList("run-drools-runnable", "SETUP.1", "VERSION.12"), 1);
}