Skip to content

Commit

Permalink
fix tests: 4gw_create-delete
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonid Chernin committed Dec 10, 2024
1 parent 3f63a8f commit 5168e6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/ha/4gws_create_delete.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5168e6a

Please sign in to comment.