Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CASMTRIAGE-7316 add additional check to the bgp test to check for the #599

Merged
merged 1 commit into from
Sep 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions goss-testing/scripts/check_bgp_neighbors_established.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,13 @@ else
metallb_check=1
fi

# the test should fail if metallb-speaker is not running
printf "metallb-speaker pods: "
if ! kubectl -n metallb-system get po -l app.kubernetes.io/name=metallb -l app.kubernetes.io/component=speaker -o json | jq -e 'all(.items[].status.containerStatuses[].ready; . == true)' ; then
err_exit 16 "metallb-speaker pods are not ready, which can cause this test to fail"
fi


# check SLS Networks data for BiCAN toggle
if curl -s -k -H "Authorization: Bearer ${TOKEN}" https://api-gw-service-nmn.local/apis/sls/v1/networks/BICAN |
jq -r .ExtraProperties.SystemDefaultRoute |
Expand Down