summaryrefslogtreecommitdiffstats
path: root/participant/participant-impl/participant-impl-kubernetes/src/test
diff options
context:
space:
mode:
authorFrancescoFioraEst <francesco.fiora@est.tech>2022-10-26 16:29:50 +0100
committerFrancesco Fiora <francesco.fiora@est.tech>2022-10-28 07:51:45 +0000
commit6cec34379cf6f1ca1ff69cd2c8973937d896aa62 (patch)
tree5b6f1de4da2e5f974757a74ecd351dfd657d85c6 /participant/participant-impl/participant-impl-kubernetes/src/test
parent75a69e67d03a55d3961d0f6a9f7925868dd39aa6 (diff)
Remove old implementation of statistics in ACM participants
The old implementation of statistics in ACM-participants can be removed due the Prometheus metrics support. Issue-ID: POLICY-4420 Change-Id: I0785b269614aba51f94e71a3fe931541c1918b0c Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'participant/participant-impl/participant-impl-kubernetes/src/test')
-rw-r--r--participant/participant-impl/participant-impl-kubernetes/src/test/java/org/onap/policy/clamp/acm/participant/kubernetes/handler/AutomationCompositionElementHandlerTest.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/participant/participant-impl/participant-impl-kubernetes/src/test/java/org/onap/policy/clamp/acm/participant/kubernetes/handler/AutomationCompositionElementHandlerTest.java b/participant/participant-impl/participant-impl-kubernetes/src/test/java/org/onap/policy/clamp/acm/participant/kubernetes/handler/AutomationCompositionElementHandlerTest.java
index 5b45cf105..fbd18ef67 100644
--- a/participant/participant-impl/participant-impl-kubernetes/src/test/java/org/onap/policy/clamp/acm/participant/kubernetes/handler/AutomationCompositionElementHandlerTest.java
+++ b/participant/participant-impl/participant-impl-kubernetes/src/test/java/org/onap/policy/clamp/acm/participant/kubernetes/handler/AutomationCompositionElementHandlerTest.java
@@ -28,7 +28,6 @@ import static org.mockito.ArgumentMatchers.anyInt;
import static org.mockito.Mockito.doNothing;
import static org.mockito.Mockito.doReturn;
import static org.mockito.Mockito.doThrow;
-import static org.mockito.Mockito.when;
import java.io.File;
import java.io.IOException;
@@ -160,15 +159,6 @@ class AutomationCompositionElementHandlerTest {
}
@Test
- void test_handleStatistics() {
- UUID elementId1 = UUID.randomUUID();
- automationCompositionElementHandler.getChartMap().put(elementId1, charts.get(0));
- when(participantIntermediaryApi.getAutomationCompositionElement(elementId1))
- .thenReturn(new AutomationCompositionElement());
- assertDoesNotThrow(() -> automationCompositionElementHandler.handleStatistics(elementId1));
- }
-
- @Test
void test_checkPodStatus() throws ExecutionException, InterruptedException {
doReturn(result).when(executor).submit(any(Runnable.class), any());
doReturn("Done").when(result).get();