Skip to content

Commit

Permalink
Specifying the correct port for µservices test
Browse files Browse the repository at this point in the history
  • Loading branch information
prppedro committed Jul 5, 2022
1 parent ce302ff commit e2764d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/commit-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
export POD=$(kubectl get pods --namespace microservices -l "app.kubernetes.io/name=rocketchat,app.kubernetes.io/instance=test-install-rocketchat-microservices" -o jsonpath='{ .items[0].metadata.name }')
kubectl --namespace microservices wait --for=condition=Ready --timeout 600s pod/${POD}
echo forwarding the port
kubectl port-forward --pod-running-timeout=1m0s --namespace microservices ${POD} 8888:3000 &
kubectl port-forward --pod-running-timeout=1m0s --namespace microservices ${POD} 8889:3000 &
echo waiting a bit
sleep 5
./test_scripts/wait_http.sh http://127.0.0.1:8889
Expand Down

0 comments on commit e2764d2

Please sign in to comment.