Increase code coverage of k8s-participant module 32/132632/1
authorrameshiyer27 <ramesh.murugan.iyer@est.tech>
Tue, 6 Dec 2022 17:04:32 +0000 (17:04 +0000)
committerrameshiyer27 <ramesh.murugan.iyer@est.tech>
Thu, 8 Dec 2022 11:27:56 +0000 (11:27 +0000)
commitb68a2c490a0290b6c7451c28ae3528c1e9dbd3a6
tree87c5a999a8e9e957691687e500f646391811d254
parent6f3447836b04f2fbea1fa4fca526d549bec42661
Increase code coverage of k8s-participant module

Unit tests with static mocks are being ignored in the build causing drop in the code coverage of k8s participant module. Static implementation in the code has been changed as it is not required.
Code coverage improved to 85%

Issue-ID: POLICY-4477
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I82facafffb8da1823699f63da480951b60060888
participant/participant-impl/participant-impl-kubernetes/src/main/java/org/onap/policy/clamp/acm/participant/kubernetes/helm/HelmClient.java
participant/participant-impl/participant-impl-kubernetes/src/main/java/org/onap/policy/clamp/acm/participant/kubernetes/helm/PodStatusValidator.java
participant/participant-impl/participant-impl-kubernetes/src/test/java/org/onap/policy/clamp/acm/participant/kubernetes/helm/HelmClientTest.java
participant/participant-impl/participant-impl-kubernetes/src/test/java/org/onap/policy/clamp/acm/participant/kubernetes/helm/PodStatusValidatorTest.java