From 607b2bf287aa6c40329c5d5bf4eaf235bd090e47 Mon Sep 17 00:00:00 2001 From: danielhanrahan Date: Fri, 24 Jan 2025 11:17:14 +0000 Subject: [k6] 50000 CM-handles - Increase CM-handles to 50000 in k6 tests - Increase container memory to 3GB (crashes with 2GB) - Decrease max heap percentage to 70% to ensure container has at least 200MB free memory, to prevent JVM from crashing at higher peak loads. Issue-ID: CPS-2584 Signed-off-by: danielhanrahan Change-Id: I8daabff58723114bdc3838b379e83c3ffbbb0ba9 --- k6-tests/ncmp/common/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'k6-tests/ncmp') diff --git a/k6-tests/ncmp/common/utils.js b/k6-tests/ncmp/common/utils.js index 66d2dfe448..6bedb1f949 100644 --- a/k6-tests/ncmp/common/utils.js +++ b/k6-tests/ncmp/common/utils.js @@ -1,6 +1,6 @@ /* * ============LICENSE_START======================================================= - * Copyright (C) 2024 Nordix Foundation + * Copyright (C) 2024-2025 Nordix Foundation * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,7 +26,7 @@ export const NCMP_BASE_URL = testConfig.hosts.ncmpBaseUrl; export const DMI_PLUGIN_URL = testConfig.hosts.dmiStubUrl; export const CONTAINER_UP_TIME_IN_SECONDS = testConfig.hosts.containerUpTimeInSeconds; export const LEGACY_BATCH_TOPIC_NAME = 'legacy_batch_topic'; -export const TOTAL_CM_HANDLES = 20000; +export const TOTAL_CM_HANDLES = 50000; export const REGISTRATION_BATCH_SIZE = 100; export const READ_DATA_FOR_CM_HANDLE_DELAY_MS = 300; // must have same value as in docker-compose.yml export const WRITE_DATA_FOR_CM_HANDLE_DELAY_MS = 670; // must have same value as in docker-compose.yml -- cgit