Skip to content

Commit 258ba1f

Browse files
author
Tim Middleton
committed
Tweak github actions
1 parent f2779e7 commit 258ba1f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-kind.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,10 @@ jobs:
9191
kubectl logs $POD -n $NAMESPACE -f > build/_output/test-logs/perf-go-client.log 2>&1 &
9292
TAIL_PID=$!
9393
# port forward the http port
94-
kubectl port-forward -n $NAMESPACE pod/$POD 8080:8080 > build/_output/test-logs/port-forward.log 2>&1 &
94+
echo "Pod: $POD"
95+
kubectl port-forward -n $NAMESPACE pod/${POD} 8080:8080 > build/_output/test-logs/port-forward.log 2>&1 &
9596
PORT_FORWARD_PID=$!
97+
sleep 5
9698
# run curl requests
9799
while : ; do curl -s -v http://127.0.0.1:8080/api/schools?q=[1-2] | jq length; sleep 0.5; done > build/_output/test-logs/curl.log 2>&1 &
98100
CURL_PID=$!

0 commit comments

Comments
 (0)