Skip to content

Commit

Permalink
bats try again
Browse files Browse the repository at this point in the history
  • Loading branch information
missylbytes committed Sep 16, 2024
1 parent ae82e6c commit d90cc93
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/consul/test/unit/gateway-resources-job.bats
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@ target=templates/gateway-resources-job.yaml
"effect": "NoSchedule" \
"key": "node2" \
"value": "clients2"' \
.| tee /dev/stderr |
. | tee /dev/stderr |
yq '.spec.template.spec.containers[0]' | tee /dev/stderr)
echo "cupcakes"
echo $tolerations
local actual=$(echo "$tolerations" | yq '.args.[13] | contains("operator")' | tee /dev/stderr)

local actual=$(echo "$tolerations" | yq '.args.[13] | contains("blah")' | tee /dev/stderr)
echo "if fails-----------------------------------------------------------"
echo $tolerations
echo $actual
echo $actual >&3
[ "${actual}" = true ]
Expand Down

0 comments on commit d90cc93

Please sign in to comment.