summaryrefslogtreecommitdiffstats
path: root/runtime/src/test
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2021-10-11 10:52:23 +0200
committerS�bastien Determe <sebastien.determe@intl.att.com>2021-10-11 11:31:17 +0000
commit7585ac35524c43acb23d178efed9223643a5c5c4 (patch)
tree10047f4fe272cb4d21a949bda8022ea629ce4851 /runtime/src/test
parentb33792767bd90ce5f049d088c64812568d9a55d5 (diff)
Fix delete action in design state
It can still happen due to DCAE deployment, so this patch should fix it. + Fix test due to changes done in DCAE camel flows Issue-ID: POLICY-3707 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I0f439fc029354a0632b2b17a452b7811df90492a
Diffstat (limited to 'runtime/src/test')
-rw-r--r--runtime/src/test/java/org/onap/policy/clamp/loop/DeployFlowItTestCase.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/src/test/java/org/onap/policy/clamp/loop/DeployFlowItTestCase.java b/runtime/src/test/java/org/onap/policy/clamp/loop/DeployFlowItTestCase.java
index bfd5b0377..899b6206b 100644
--- a/runtime/src/test/java/org/onap/policy/clamp/loop/DeployFlowItTestCase.java
+++ b/runtime/src/test/java/org/onap/policy/clamp/loop/DeployFlowItTestCase.java
@@ -154,7 +154,7 @@ public class DeployFlowItTestCase {
loopTest.addMicroServicePolicy(microServicePolicy);
loopService.saveOrUpdateLoop(loopTest);
Exchange myCamelExchange = ExchangeBuilder.anExchange(camelContext).withProperty("loopObject", loopTest)
- .build();
+ .withProperty("raiseHttpExceptionFlag", true).build();
camelContext.createProducerTemplate().send("direct:undeploy-loop", myCamelExchange);
@@ -189,7 +189,7 @@ public class DeployFlowItTestCase {
loopTest2.addMicroServicePolicy(microServicePolicy2);
loopsRepository.saveAndFlush(loopTest2);
Exchange myCamelExchange = ExchangeBuilder.anExchange(camelContext).withProperty("loopObject", loopTest2)
- .build();
+ .withProperty("raiseHttpExceptionFlag", true).build();
camelContext.createProducerTemplate().send("direct:undeploy-loop", myCamelExchange);