From 8ea90c96dab9187ee5ed5b6eb2f1bc85d0012e33 Mon Sep 17 00:00:00 2001 From: "halil.cakal" Date: Wed, 18 Sep 2024 12:48:27 +0100 Subject: 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 --- k6-tests/ncmp/ncmp-kpi.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'k6-tests/ncmp') 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: { -- cgit 1.2.3-korg