From 3b9b290c5f68cb98924a5e50f3fdd8e8a165fec4 Mon Sep 17 00:00:00 2001 From: Vallari Agrawal Date: Tue, 4 Feb 2025 13:20:18 +0530 Subject: [PATCH] qa/suites/nvmeof: use SCALING_DELAYS: '120' Increase delays for qa/workunits/nvmeof/scalability_test.sh as namespace rebalancing takes more time. After upscaling, gateway initially could be 'CREATED', it is a valid state during gateway initialization, but then the state should progress to 'AVAILABLE' within couple of seconds. Signed-off-by: Vallari Agrawal --- qa/suites/nvmeof/basic/workloads/nvmeof_scalability.yaml | 2 +- qa/workunits/nvmeof/scalability_test.sh | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/qa/suites/nvmeof/basic/workloads/nvmeof_scalability.yaml b/qa/suites/nvmeof/basic/workloads/nvmeof_scalability.yaml index d66b6fc80931f..c24ce631dfae3 100644 --- a/qa/suites/nvmeof/basic/workloads/nvmeof_scalability.yaml +++ b/qa/suites/nvmeof/basic/workloads/nvmeof_scalability.yaml @@ -36,6 +36,6 @@ tasks: - nvmeof/scalability_test.sh nvmeof.b,nvmeof.c,nvmeof.d - nvmeof/scalability_test.sh nvmeof.b,nvmeof.c env: - SCALING_DELAYS: '50' + SCALING_DELAYS: '120' RBD_POOL: mypool NVMEOF_GROUP: mygroup0 diff --git a/qa/workunits/nvmeof/scalability_test.sh b/qa/workunits/nvmeof/scalability_test.sh index 8ede4b7eda206..395d9b5d8d225 100755 --- a/qa/workunits/nvmeof/scalability_test.sh +++ b/qa/workunits/nvmeof/scalability_test.sh @@ -32,10 +32,7 @@ status_checks() { return 1 fi - ceph_status=$(ceph -s) - if ! echo "$ceph_status" | grep -q "HEALTH_OK"; then - return 1 - fi + ceph -s } total_gateways_count=$(( $(echo "$NVMEOF_GATEWAY_IP_ADDRESSES" | tr -cd ',' | wc -c) + 1 )) -- 2.39.5