From f2e1e2571fec6fd701df3033641a3e11a8aae62f Mon Sep 17 00:00:00 2001 From: danielhanrahan Date: Sun, 25 Aug 2024 21:35:19 +0100 Subject: [k6] Align tests with updated requirements - Test load increased to 5 CM handle searches and 5 Id searches to reflect current requirements. - CM handles searches now use a combined search filter including 1 module and 1 public property, so we are testing with a heavier load than required, for early warning of trouble. - Test load reduced for passthrough operations to 4 VUs per operation to reflect addition of batch operation. - Added test of passthrough write operation with alternate ID. - Additional refactoring. Issue-ID: CPS-2349 Signed-off-by: danielhanrahan Change-Id: I88d2fe431f74821e8e0e976441efcf82aa320849 --- k6-tests/ncmp/common/cmhandle-crud.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'k6-tests/ncmp/common/cmhandle-crud.js') 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 +} -- cgit 1.2.3-korg