diff options
author | danielhanrahan <daniel.hanrahan@est.tech> | 2024-11-13 18:07:48 +0000 |
---|---|---|
committer | Priyank Maheshwari <priyank.maheshwari@est.tech> | 2024-11-15 17:03:13 +0000 |
commit | 37962e3faca4f2306546c4f70d480b0c323d2c68 (patch) | |
tree | dcb02c77afd1edb6f9e3c15cb4d1d01b77c03081 /k6-tests/ncmp/ncmp-kpi.js | |
parent | 24e8c116056f57e14520f260e1dc5a2ae5266358 (diff) |
[k6] Lower load for legacy async batch operation test
Legacy async batch operation test is failing and reporting zero
as result due to timeouts in the test.
- Lower total batch requests to 100 instead of 1000
- Limit the number of kafka messages per batch to 200 instead of 1000
to avoid timeout issues.
Issue-ID: CPS-2274
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I06c04173ca1ed0f3580df6a73b5d647ab7ed0c71
Diffstat (limited to 'k6-tests/ncmp/ncmp-kpi.js')
-rw-r--r-- | k6-tests/ncmp/ncmp-kpi.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/k6-tests/ncmp/ncmp-kpi.js b/k6-tests/ncmp/ncmp-kpi.js index 53f7629cac..e46c547c30 100644 --- a/k6-tests/ncmp/ncmp-kpi.js +++ b/k6-tests/ncmp/ncmp-kpi.js @@ -345,8 +345,7 @@ export function legacyBatchConsumeScenario() { let startTime = Date.now(); while (messagesConsumed < TOTAL_MESSAGES_TO_CONSUME) { - let messages = legacyBatchEventReader.consume({ limit: 1000 }); - + let messages = legacyBatchEventReader.consume({ limit: LEGACY_BATCH_THROUGHPUT_TEST_BATCH_SIZE }); if (messages.length > 0) { messagesConsumed += messages.length; } |