[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
diff --git a/k6-tests/ncmp/common/search-base.js b/k6-tests/ncmp/common/search-base.js
index 1e98e9b..af2caf7 100644
--- a/k6-tests/ncmp/common/search-base.js
+++ b/k6-tests/ncmp/common/search-base.js
@@ -43,7 +43,7 @@
"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 a429675..6ddcca5 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_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 8815511..a8a6a09 100644
--- a/k6-tests/ncmp/ncmp-kpi.js
+++ b/k6-tests/ncmp/ncmp-kpi.js
@@ -58,8 +58,8 @@
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',