summaryrefslogtreecommitdiffstats
path: root/k6-tests/ncmp/common/cmhandle-crud.js
diff options
context:
space:
mode:
authorPriyank Maheshwari <priyank.maheshwari@est.tech>2024-09-05 09:45:25 +0000
committerGerrit Code Review <gerrit@onap.org>2024-09-05 09:45:25 +0000
commit51d1e862e813110e78072872fc2b7fa15243659e (patch)
tree5ed845c0db4cf66d8d4d2a2c18c49acc27462b99 /k6-tests/ncmp/common/cmhandle-crud.js
parentd196932c3ed2edbc3f0a0ce0fb097b40715ad0bb (diff)
parentf2e1e2571fec6fd701df3033641a3e11a8aae62f (diff)
Merge "[k6] Align tests with updated requirements"
Diffstat (limited to 'k6-tests/ncmp/common/cmhandle-crud.js')
-rw-r--r--k6-tests/ncmp/common/cmhandle-crud.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/k6-tests/ncmp/common/cmhandle-crud.js b/k6-tests/ncmp/common/cmhandle-crud.js
index 8f53c9b9be..aa3beb3091 100644
--- a/k6-tests/ncmp/common/cmhandle-crud.js
+++ b/k6-tests/ncmp/common/cmhandle-crud.js
@@ -32,7 +32,7 @@ export function createCmHandles(cmHandleIds) {
"dmiPlugin": DMI_PLUGIN_URL,
"createdCmHandles": cmHandleIds.map((cmHandleId, index) => ({
"cmHandle": cmHandleId,
- "alternateId": `alt-${cmHandleId}`,
+ "alternateId": cmHandleId.replace('ch-', 'alt-'),
"moduleSetTag": MODULE_SET_TAGS[index % MODULE_SET_TAGS.length],
"cmHandleProperties": {"neType": "RadioNode"},
"publicCmHandleProperties": {
@@ -70,4 +70,4 @@ function getNumberOfReadyCmHandles() {
const response = executeCmHandleIdSearch('readyCmHandles');
const arrayOfCmHandleIds = JSON.parse(response.body);
return arrayOfCmHandleIds.length;
-} \ No newline at end of file
+}