summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhalil.cakal <halil.cakal@est.tech>2024-09-18 12:48:27 +0100
committerhalil.cakal <halil.cakal@est.tech>2024-09-18 17:35:48 +0100
commit8ea90c96dab9187ee5ed5b6eb2f1bc85d0012e33 (patch)
tree98dab254d2315f8a20f52a199fb63ca19ad818cf
parent03d2e8607ecfa0502ea93335243c56752ee66f92 (diff)
Change execution order of the legacy async batch read operation in k6 suite
- run the test after the parallel cases - add 30 seconds safe-period of time waiting for completion of active threads (remained from previous test cases) Issue-ID: CPS-2414 Change-Id: I1260b37cd4f1974eebcccf867b36172b407a9646 Signed-off-by: halil.cakal <halil.cakal@est.tech>
-rw-r--r--k6-tests/ncmp/ncmp-kpi.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/k6-tests/ncmp/ncmp-kpi.js b/k6-tests/ncmp/ncmp-kpi.js
index 05500a60a3..f9a19c394f 100644
--- a/k6-tests/ncmp/ncmp-kpi.js
+++ b/k6-tests/ncmp/ncmp-kpi.js
@@ -47,6 +47,7 @@ const legacyBatchEventReader = new Reader({
});
const DURATION = '15m';
+const LEGACY_BATCH_THROUGHPUT_TEST_START_TIME = '15m30s';
export const options = {
setupTimeout: '8m',
@@ -93,14 +94,14 @@ export const options = {
exec: 'legacyBatchProduceScenario',
vus: 2,
iterations: LEGACY_BATCH_THROUGHPUT_TEST_NUMBER_OF_REQUESTS,
- maxDuration: DURATION,
+ startTime: LEGACY_BATCH_THROUGHPUT_TEST_START_TIME,
},
legacy_batch_consume_scenario: {
executor: 'per-vu-iterations',
exec: 'legacyBatchConsumeScenario',
vus: 1,
iterations: 1,
- maxDuration: DURATION,
+ startTime: LEGACY_BATCH_THROUGHPUT_TEST_START_TIME,
}
},
thresholds: {