]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/nvmeof: use SCALING_DELAYS: '120' 61357/head
authorVallari Agrawal <vallari.agrawal@ibm.com>
Tue, 4 Feb 2025 07:50:18 +0000 (13:20 +0530)
committerVallari Agrawal <vallari.agrawal@ibm.com>
Tue, 4 Feb 2025 11:13:56 +0000 (16:43 +0530)
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 <vallari.agrawal@ibm.com>
qa/suites/nvmeof/basic/workloads/nvmeof_scalability.yaml
qa/workunits/nvmeof/scalability_test.sh

index d66b6fc80931f76fed52eb99cf0e489e7a7c6dcd..c24ce631dfae35b4e574f809ca701607c082f873 100644 (file)
@@ -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
index 8ede4b7eda20626460541eb255f461900e1a5e1e..395d9b5d8d2252e746935db0bea80f339e2a8209 100755 (executable)
@@ -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 ))