Skip to content

Commit

Permalink
fix ha tests 4gw_create-delete* to allign with deleting-state ceph co…
Browse files Browse the repository at this point in the history
…mmit

Signed-off-by: Leonid Chernin <leonidc@il.ibm.com>
  • Loading branch information
Leonid Chernin committed Sep 8, 2024
1 parent 545a89a commit 17f0443
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/ha/4gws_create_delete.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ validate_all_active() {
NUM_SUBSYSTEMS=2
NUM_GATEWAYS=4
FAILING_GATEWAYS=2
NUM_OPTIMIZED=2
#
# Step 1 validate all gateways are optimized for one of ANA group
# and all groups are unique
Expand Down Expand Up @@ -174,7 +175,7 @@ for i in $(seq 4); do
echo "ℹ️ Check healthy gw gw=$i"
for s in $(seq $NUM_SUBSYSTEMS); do
NQN="nqn.2016-06.io.spdk:cnode$s"
GW_OPTIMIZED=$(expect_optimized "$(gw_name $i)" 1 "$NQN")
GW_OPTIMIZED=$(expect_optimized "$(gw_name $i)" "$NUM_OPTIMIZED" "$NQN")
done
fi
done
Expand Down

0 comments on commit 17f0443

Please sign in to comment.