From 1b520c7be76109f0f38c4bceb9d43f5a1844c107 Mon Sep 17 00:00:00 2001 From: ArgoCD Setup Date: Fri, 23 Jan 2026 08:31:53 -0300 Subject: [PATCH] fix(aula-04): corrigir porta do teste de stress para 3000 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit URL default estava sem porta, causando conexão na porta 80 ao invés da 3000. --- aula-04/README.md | 2 +- aula-04/teste-stress.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aula-04/README.md b/aula-04/README.md index 13003ef..005d760 100644 --- a/aula-04/README.md +++ b/aula-04/README.md @@ -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 ``` diff --git a/aula-04/teste-stress.sh b/aula-04/teste-stress.sh index 8da00e1..cebed1e 100755 --- a/aula-04/teste-stress.sh +++ b/aula-04/teste-stress.sh @@ -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