Skip to content

Commit c02c91d

Browse files
committed
Couple tests were silently failing. Added fixes for them.
1 parent 92431a5 commit c02c91d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

e2e/test/lb-created-with-reserved-ip-nb-range/chainsaw-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ spec:
6262
-H "Content-Type: application/json" --fail-early --retry 3 \
6363
-H "accept: application/json" \
6464
"${LINODE_URL}/v4beta/nodebalancers/$nbid")
65-
response=$($delnb)
65+
response=$del_nb
6666

6767
if [ "$(echo "$del_nb" | jq 'length')" != 0 ]; then
6868
echo "Error deleting the nodebalancer"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ spec:
6767
"$LINODE_URL/v4/nodebalancers/$nbid/configs/$config_id/nodes")
6868
6969
# Extract all addresses and remove ports
70-
addresses=$(echo "$json_data" | jq -r '.data[].address' | sed 's/:[0-9]*$//')
70+
addresses=$(echo "$nodes" | jq -r '.data[].address' | sed 's/:[0-9]*$//')
7171
7272
for ip in $addresses; do
7373
if [[ $ip =~ ^10\.0\.0\.[0-9]+$ ]]; then

0 commit comments

Comments
 (0)