From eefb5b3de6e35615ac010805ba4b2e54ec6c5f11 Mon Sep 17 00:00:00 2001 From: danielhanrahan Date: Fri, 25 Oct 2024 14:34:19 +0100 Subject: [k6] Update tests for DMI stub changes for modules It is needed to update k6 tests due to changes made in the DMI stub for dynamic module generation: - Increase setup timeout to 30 minutes - Use 5 module set tags: tagA to tagE - Update module search to look for module100 Issue-ID: CPS-2410 Signed-off-by: danielhanrahan Change-Id: I17830e4d858883743476d297af90d1ceaba1eb44 --- k6-tests/ncmp/common/search-base.js | 2 +- k6-tests/ncmp/common/utils.js | 2 +- k6-tests/ncmp/ncmp-kpi.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'k6-tests') diff --git a/k6-tests/ncmp/common/search-base.js b/k6-tests/ncmp/common/search-base.js index 1e98e9b07b..af2caf71ec 100644 --- a/k6-tests/ncmp/common/search-base.js +++ b/k6-tests/ncmp/common/search-base.js @@ -43,7 +43,7 @@ const SEARCH_PARAMETERS_PER_SCENARIO = { "cmHandleQueryParameters": [ { "conditionName": "hasAllModules", - "conditionParameters": [{"moduleName": "ietf-yang-types"}] + "conditionParameters": [{"moduleName": "module100"}] } ] }, diff --git a/k6-tests/ncmp/common/utils.js b/k6-tests/ncmp/common/utils.js index a429675aaf..6ddcca5fbf 100644 --- a/k6-tests/ncmp/common/utils.js +++ b/k6-tests/ncmp/common/utils.js @@ -30,7 +30,7 @@ export const LEGACY_BATCH_THROUGHPUT_TEST_BATCH_SIZE = 200; export const LEGACY_BATCH_THROUGHPUT_TEST_NUMBER_OF_REQUESTS = 1000; export const LEGACY_BATCH_TOPIC_NAME = 'legacy_batch_topic'; export const KAFKA_BOOTSTRAP_SERVERS = ['localhost:9092']; -export const MODULE_SET_TAGS = ['tagA','tagB','tagC',' tagD'] +export const MODULE_SET_TAGS = ['tagA', 'tagB', 'tagC', 'tagD', 'tagE']; /** diff --git a/k6-tests/ncmp/ncmp-kpi.js b/k6-tests/ncmp/ncmp-kpi.js index 8815511bdd..a8a6a09d95 100644 --- a/k6-tests/ncmp/ncmp-kpi.js +++ b/k6-tests/ncmp/ncmp-kpi.js @@ -58,8 +58,8 @@ const DURATION = '15m'; const LEGACY_BATCH_THROUGHPUT_TEST_START_TIME = '15m30s'; export const options = { - setupTimeout: '8m', - teardownTimeout: '6m', + setupTimeout: '30m', + teardownTimeout: '10m', scenarios: { passthrough_read_scenario: { executor: 'constant-vus', -- cgit 1.2.3-korg