fix(aula-04): corrigir porta do teste de stress para 3000

URL default estava sem porta, causando conexão na porta 80 ao invés da 3000.
This commit is contained in:
ArgoCD Setup
2026-01-23 08:31:53 -03:00
parent 67e8c54810
commit 1b520c7be7
2 changed files with 2 additions and 2 deletions

View File

@@ -134,7 +134,7 @@ kubectl get pods -w
# Ou manualmente:
for i in {1..100}; do
curl -s -o /dev/null -w "%{http_code}\n" http://localhost/
curl -s -o /dev/null -w "%{http_code}\n" http://localhost:3000/
sleep 0.1
done
```

View File

@@ -3,7 +3,7 @@
# Teste de Stress para verificar resiliência do Ingress
# Uso: ./teste-stress.sh [URL] [NUM_REQUESTS]
URL="${1:-http://localhost}"
URL="${1:-http://localhost:3000}"
TOTAL="${2:-50}"
TIMEOUT=120