From 7f7d2bfe1673f3334e43029bb81408d3305fa2e2 Mon Sep 17 00:00:00 2001 From: FrancescoFioraEst Date: Mon, 16 Oct 2023 12:57:37 +0100 Subject: Fix messages in ACM Fix TIMEOUT support in MIGRATING. Avoid conflicts updating AC instance Element instead of a full AC instance. Using ExecutorService to send messages to the participant, the transaction will completed before the message is sent. Issue-ID: POLICY-4811 Change-Id: I2730ae694c8a5c9edfe500b1fa93cfb3787f32c5 Signed-off-by: FrancescoFioraEst --- .../intermediary/handler/AutomationCompositionOutHandlerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'participant/participant-intermediary/src/test/java') diff --git a/participant/participant-intermediary/src/test/java/org/onap/policy/clamp/acm/participant/intermediary/handler/AutomationCompositionOutHandlerTest.java b/participant/participant-intermediary/src/test/java/org/onap/policy/clamp/acm/participant/intermediary/handler/AutomationCompositionOutHandlerTest.java index cbd236efe..a04f9079c 100755 --- a/participant/participant-intermediary/src/test/java/org/onap/policy/clamp/acm/participant/intermediary/handler/AutomationCompositionOutHandlerTest.java +++ b/participant/participant-intermediary/src/test/java/org/onap/policy/clamp/acm/participant/intermediary/handler/AutomationCompositionOutHandlerTest.java @@ -231,7 +231,7 @@ class AutomationCompositionOutHandlerTest { var compositionTarget = UUID.randomUUID(); automationComposition.setCompositionTargetId(compositionTarget); - automationComposition.setDeployState(DeployState.MIGRATING); + automationComposition.setDeployState(DeployState.DEPLOYED); when(cacheProvider.getAcElementsDefinitions()).thenReturn(Map.of(compositionTarget, Map.of())); for (var element : automationComposition.getElements().values()) { -- cgit 1.2.3-korg