aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanielhanrahan <daniel.hanrahan@est.tech>2024-10-25 14:34:19 +0100
committerdanielhanrahan <daniel.hanrahan@est.tech>2024-10-25 14:34:19 +0100
commiteefb5b3de6e35615ac010805ba4b2e54ec6c5f11 (patch)
treee8218a32f6411ce90c6a2abea4e46b9536c647ce
parent2664c776fda2431846447c40aaad98b49da5593a (diff)
[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 <daniel.hanrahan@est.tech> Change-Id: I17830e4d858883743476d297af90d1ceaba1eb44
-rw-r--r--k6-tests/ncmp/common/search-base.js2
-rw-r--r--k6-tests/ncmp/common/utils.js2
-rw-r--r--k6-tests/ncmp/ncmp-kpi.js4
3 files changed, 4 insertions, 4 deletions
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',