Skip to content

Commit 513ac94

Browse files
komer3Copilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 4735bcf commit 513ac94

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

e2e/test/lb-with-ipv6-backends/chainsaw-test.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ spec:
5757
5858
addresses=$(echo "$nodes" | jq -r '.data[].address')
5959
60+
if [[ -z "$addresses" ]]; then
61+
echo "NO_BACKEND_ADDRESSES"
62+
fi
63+
6064
for address in $addresses; do
6165
if [[ $address =~ ^\[(.*)\]:([0-9]+)$ ]]; then
6266
host="${BASH_REMATCH[1]}"
@@ -72,6 +76,7 @@ spec:
7276
done
7377
check:
7478
($error): ~
79+
(contains($stdout, 'NO_BACKEND_ADDRESSES')): false
7580
(contains($stdout, 'is NOT IPv6')): false
7681
- name: Fetch loadbalancer ip and check both pods reachable
7782
try:

0 commit comments

Comments
 (0)