diff options
author | Sourabh Sourabh <sourabh.sourabh@est.tech> | 2024-06-21 08:50:46 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2024-06-21 08:50:46 +0000 |
commit | e9893a3d2150bbb3256b09ecdab6d627fea95335 (patch) | |
tree | 85c42acd74470e0f0810ed7fbc3cd5a8e2720c53 /integration-test | |
parent | f582c464c714816dc5c94bf351927b72d0edc313 (diff) | |
parent | 4a6e141c886dee974af4661db7d26792b5e75210 (diff) |
Merge "Spliting a data-job into sub-jobs for DMI Plugin"
Diffstat (limited to 'integration-test')
-rw-r--r-- | integration-test/src/test/groovy/org/onap/cps/integration/performance/ncmp/CmHandleQueryByAlternateIdPerfTest.groovy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integration-test/src/test/groovy/org/onap/cps/integration/performance/ncmp/CmHandleQueryByAlternateIdPerfTest.groovy b/integration-test/src/test/groovy/org/onap/cps/integration/performance/ncmp/CmHandleQueryByAlternateIdPerfTest.groovy index 9504c9ec7e..ddc232dff1 100644 --- a/integration-test/src/test/groovy/org/onap/cps/integration/performance/ncmp/CmHandleQueryByAlternateIdPerfTest.groovy +++ b/integration-test/src/test/groovy/org/onap/cps/integration/performance/ncmp/CmHandleQueryByAlternateIdPerfTest.groovy @@ -41,7 +41,7 @@ class CmHandleQueryByAlternateIdPerfTest extends NcmpPerfTestBase { when: 'an alternate id as cps path query' resourceMeter.start() def cpsPath = "/a/b/c/d-5/e/f/g/h/i" - def dataNodes = objectUnderTest.getCmHandleDataNodeByLongestMatchAlternateId(cpsPath, '/') + def dataNodes = objectUnderTest.getCmHandleDataNodeByLongestMatchingAlternateId(cpsPath, '/') and: 'the ids of the result are extracted and converted to xpath' def cpsXpaths = dataNodes.stream().map(dataNode -> "/dmi-registry/cm-handles[@id='${dataNode.leaves.id}']".toString() ).collect(Collectors.toSet()) and: 'a single get is executed to get all the parent objects and their descendants' |