diff options
author | Benjamin, Max (mb388a) <mb388a@att.com> | 2021-01-05 13:21:02 -0500 |
---|---|---|
committer | k.kedron <k.kedron@partner.samsung.com> | 2021-02-26 14:11:39 +0100 |
commit | 010aa7d68e2a0a1c50711eaa68ac40b0cfc5f41e (patch) | |
tree | 259df8d74277ffd173b7a933ee00d681d2a12840 /adapters/mso-openstack-adapters/src/test/java/org | |
parent | 1c7b9ee675bf79c192f04d8723f3f935f8f8534c (diff) |
Changed the task to capture the outputs on polling
Changed the task to capture the outputs on polling
Issue-ID: SO-3465
Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com>
Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
Change-Id: I7ccbd90cd560e1616d2b7d59a4681874ddf8a351
Diffstat (limited to 'adapters/mso-openstack-adapters/src/test/java/org')
-rw-r--r-- | adapters/mso-openstack-adapters/src/test/java/org/onap/so/adapters/tasks/orchestration/StackServiceTest.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/adapters/mso-openstack-adapters/src/test/java/org/onap/so/adapters/tasks/orchestration/StackServiceTest.java b/adapters/mso-openstack-adapters/src/test/java/org/onap/so/adapters/tasks/orchestration/StackServiceTest.java index afe7e17855..7a00cfe145 100644 --- a/adapters/mso-openstack-adapters/src/test/java/org/onap/so/adapters/tasks/orchestration/StackServiceTest.java +++ b/adapters/mso-openstack-adapters/src/test/java/org/onap/so/adapters/tasks/orchestration/StackServiceTest.java @@ -89,14 +89,15 @@ public class StackServiceTest { Map<String, Object> variables = new HashMap<>(); variables.put("backout", true); - variables.put("WorkflowResponse", ""); variables.put("OpenstackInvokeSuccess", true); variables.put("stackId", null); - variables.put("openstackAdapterErrorMessage", null); + variables.put("openstackAdapterErrorMessage", ""); variables.put("PollRollbackStatus", false); variables.put("rollbackPerformed", false); variables.put("OpenstackRollbackSuccess", false); variables.put("OpenstackPollSuccess", false); + variables.put("os3Nw", false); + Mockito.verify(vnfAdapterImpl, Mockito.times(1)).createVfModule(Mockito.eq("regionOne"), Mockito.eq("CloudOwner"), Mockito.eq("0422ffb57ba042c0800a29dc85ca70f8"), |