From 8a6905820272097428f760dfc60044e5f99c2e1f Mon Sep 17 00:00:00 2001 From: hezko Date: Sun, 13 Oct 2024 13:44:40 +0300 Subject: [PATCH] more log fixing --- tests/ha/blocklist.sh | 3 ++- tests/ha/state_transitions.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/ha/blocklist.sh b/tests/ha/blocklist.sh index c265579f..0cbc7f05 100644 --- a/tests/ha/blocklist.sh +++ b/tests/ha/blocklist.sh @@ -5,7 +5,7 @@ verify_blocklist() { NODE_IP=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $stopped_gw_name) BLOCKLIST=$(docker compose exec -T ceph ceph osd blocklist ls) - echo "verifying there is at least 1 entriy in the blocklist related to the stopped gateway" + echo "verifying there is at least 1 entry in the blocklist related to the stopped gateway" if echo "$BLOCKLIST" | grep -q "$NODE_IP"; then echo "ip $NODE_IP for the stopped gateway was found the blocklist." else @@ -20,6 +20,7 @@ verify_blocklist() { else echo "didn't find unexpected entries which are not relaetd to the stopped gateway." fi + echo "blocklist verification successful" } echo "obtaining gw1 container id and its ip" diff --git a/tests/ha/state_transitions.sh b/tests/ha/state_transitions.sh index 5336c4ea..5501e8b3 100755 --- a/tests/ha/state_transitions.sh +++ b/tests/ha/state_transitions.sh @@ -70,7 +70,7 @@ verify_blocklist() { NODE_IP=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $stopped_gw_name) BLOCKLIST=$(docker compose exec -T ceph ceph osd blocklist ls) - echo "verifying there is at least 1 entriy in the blocklist related to the stopped gateway" + echo "verifying there is at least 1 entry in the blocklist related to the stopped gateway" if echo "$BLOCKLIST" | grep -q "$NODE_IP"; then echo "ip $NODE_IP for the stopped gateway was found the blocklist." else @@ -85,6 +85,7 @@ verify_blocklist() { else echo "didn't find unexpected entries which are not relaetd to the stopped gateway." fi + echo "blocklist verification successful" } #