From 5168e6abe8df897ddbf8351ba878c7c4b9734d92 Mon Sep 17 00:00:00 2001 From: Leonid Chernin Date: Tue, 10 Dec 2024 19:31:45 +0000 Subject: [PATCH] fix tests: 4gw_create-delete --- tests/ha/4gws_create_delete.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ha/4gws_create_delete.sh b/tests/ha/4gws_create_delete.sh index 527d3593f..2abdeee0e 100755 --- a/tests/ha/4gws_create_delete.sh +++ b/tests/ha/4gws_create_delete.sh @@ -133,7 +133,7 @@ validate_all_active() { NUM_SUBSYSTEMS=2 NUM_GATEWAYS=4 FAILING_GATEWAYS=2 -NUM_OPTIMIZED=2 +NUM_OPTIMIZED=1 # # Step 1 validate all gateways are optimized for one of ANA group # and all groups are unique @@ -156,10 +156,10 @@ for i in $(seq 0 $(expr $FAILING_GATEWAYS - 1)); do echo 📫 nvme-gw delete gateway: \'$gw_name\' pool: \'$POOL\', group: \'\' \(empty string\) docker compose exec -T ceph ceph nvme-gw delete $gw_name $POOL '' done - +sleep 120 # wait for scale down rebalance complete docker ps -# expect remaining gws to have two optimized groups each +# expect remaining gws to have 1 optimized groups each beause due to scale down rebalance gw were deleted from the monitor's database for i in $(seq 4); do found=0 for j in $(seq 0 $(expr $FAILING_GATEWAYS - 1)); do