diff options
author | 2025-02-13 10:19:19 +0000 | |
---|---|---|
committer | 2025-02-13 10:19:19 +0000 | |
commit | c8f8bac31a87d71b7c8622028f89a548f9a89008 (patch) | |
tree | ef72b3b12722a49c618bc45a39ce80046bb4e21d | |
parent | ee4e49556be15ef5f881403f1cd70fab8daa68f4 (diff) |
Fix WriteSubJobSpec test to support Windows
- Added to test to support Windows/Kubernetes network resolution by MockWebServer
Issue-ID: CPS-2641
Change-Id: I1bfe1db66438bbbf7df9e94c8d42cfe84d68b220
Signed-off-by: egernug <gerard.nugent@est.tech>
-rw-r--r-- | integration-test/src/test/groovy/org/onap/cps/integration/functional/ncmp/WriteSubJobSpec.groovy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integration-test/src/test/groovy/org/onap/cps/integration/functional/ncmp/WriteSubJobSpec.groovy b/integration-test/src/test/groovy/org/onap/cps/integration/functional/ncmp/WriteSubJobSpec.groovy index 5d3ea1919a..46c641cd23 100644 --- a/integration-test/src/test/groovy/org/onap/cps/integration/functional/ncmp/WriteSubJobSpec.groovy +++ b/integration-test/src/test/groovy/org/onap/cps/integration/functional/ncmp/WriteSubJobSpec.groovy @@ -60,7 +60,7 @@ class WriteSubJobSpec extends CpsIntegrationSpecBase { assert response.size() == 2 assert response[0].class == SubJobWriteResponse.class assert response[0].subJobId == 'some sub job id' - assert response[0].dmiServiceName.startsWith('http://localhost:') + assert response[0].dmiServiceName.startsWith('http://localhost:') || response[0].dmiServiceName().startsWith('http://kubernetes') assert response[0].dataProducerId == 'some data producer id' and: 'dmi 1 received the correct job details' def receivedSubJobsForDispatcher1 = dmiDispatcher1.receivedSubJobs['?destination=d1']['data'].collect() |