[BUG] Mock DMI will respond to Health Checks during tests 93/137593/6
authordanielhanrahan <daniel.hanrahan@est.tech>
Tue, 26 Mar 2024 18:03:36 +0000 (18:03 +0000)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Thu, 28 Mar 2024 17:44:48 +0000 (17:44 +0000)
commitc454bb912798d90ee0d6cb6fc56c8926dc120bb1
tree4ea3c643e4f99556ee82db2e6cc1470d34be414d
parent3cf768abb67e9d53ee0fe8c9b0b8efc3dfdbb60e
[BUG] Mock DMI will respond to Health Checks during tests

Health Check for DMI is sometimes running during integration tests,
causing the mockDmiServer to fail due to unexpected Rest requests.
As a fix, the mock DMI will respond to health checks.

Issue-ID: CPS-2167
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ie4a0059583e66dfcc00e1aa998671a662ccf053a
integration-test/src/test/groovy/org/onap/cps/integration/base/CpsIntegrationSpecBase.groovy
integration-test/src/test/groovy/org/onap/cps/integration/functional/NcmpBearerTokenPassthroughSpec.groovy
integration-test/src/test/groovy/org/onap/cps/integration/functional/NcmpCmHandleCreateSpec.groovy
integration-test/src/test/groovy/org/onap/cps/integration/functional/NcmpCmHandleUpgradeSpec.groovy