diff options
author | saul.gill <saul.gill@est.tech> | 2023-06-27 14:23:26 +0100 |
---|---|---|
committer | Liam Fallon <liam.fallon@est.tech> | 2023-06-28 10:24:25 +0000 |
commit | fc54479bd04f4f56c4c2b6c9eb6f9286814de033 (patch) | |
tree | d9da4c3d2bdc11b3927297baf3d82ea57de7d0cb /models/src/test/java | |
parent | e0e2cca72ccb7e662328633f1d2bd6954a525edb (diff) |
Removing old implementation of participant restart
Particpant will be set as offline at deregister
No ac states will be altered at deregister
Issue-ID: POLICY-4742
Change-Id: Ifb297805ed4b97938b7f92855e30f978d474b648
Signed-off-by: saul.gill <saul.gill@est.tech>
(cherry picked from commit 059adbc2c51c79d97aeb19faac81f1128529e4f7)
Diffstat (limited to 'models/src/test/java')
-rw-r--r-- | models/src/test/java/org/onap/policy/clamp/models/acm/persistence/provider/ParticipantProviderTest.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/models/src/test/java/org/onap/policy/clamp/models/acm/persistence/provider/ParticipantProviderTest.java b/models/src/test/java/org/onap/policy/clamp/models/acm/persistence/provider/ParticipantProviderTest.java index 968ad31bb..22523e2a7 100644 --- a/models/src/test/java/org/onap/policy/clamp/models/acm/persistence/provider/ParticipantProviderTest.java +++ b/models/src/test/java/org/onap/policy/clamp/models/acm/persistence/provider/ParticipantProviderTest.java @@ -252,7 +252,6 @@ class ParticipantProviderTest { assertThrows(NullPointerException.class, () -> participantProvider.deleteParticipant(null)); assertThrows(NullPointerException.class, () -> participantProvider.getAutomationCompositionElements(null)); assertThrows(NullPointerException.class, () -> participantProvider.getAcNodeTemplateStates(null)); - assertThrows(NullPointerException.class, () -> participantProvider.resetParticipantAcElementState(null)); } @Test @@ -287,8 +286,6 @@ class ParticipantProviderTest { assertThat(e.getLockState().equals(LockState.LOCKED)); }); - participantProvider.resetParticipantAcElementState(UUID.randomUUID()); - acElementList.get(0).stream().forEach(e -> { assertThat(e.getDeployState().equals(DeployState.UNDEPLOYED)); assertThat(e.getLockState().equals(LockState.NONE)); |