Skip to content

Commit

Permalink
fix svc name
Browse files Browse the repository at this point in the history
  • Loading branch information
leodotcloud committed Feb 24, 2023
1 parent 5e2c0c0 commit a8242b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/test-on-k3s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ sleep 5
kubectl run nginx --image=nginx
kubectl wait --for=condition=ready pods/nginx

kubectl exec nginx -- sh -c "if curl localhost | grep Nato; then echo Passed; exit 0; else echo Failed; exit 1; fi"
kubectl exec nginx -- sh -c "if curl swiss | grep Nato; then echo Passed; exit 0; else echo Failed; exit 1; fi"
if [ $? -eq 0 ]; then
echo "Test passed"
else
Expand Down

0 comments on commit a8242b5

Please sign in to comment.