Skip to content

Commit 16fe45f

Browse files
committed
ci: add wait to prevent race condition
1 parent 48fa1b0 commit 16fe45f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.pipelines/cni/cilium/cilium-scale-test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ stages:
341341
kubectl apply -f apache.yaml
342342
echo "wait for pod to become ready"
343343
kubectl rollout status deployment apachebench --timeout=30s
344+
kubectl wait --for=condition=Ready pods --all --timeout=30s
344345
kubectl get pod -owide
345346
mkdir test2_apachebench
346347
cd test2_apachebench
@@ -399,6 +400,7 @@ stages:
399400
chmod +x hack/scripts/netperf.sh
400401
kubectl apply -f hack/manifests/netperf-pod.yaml
401402
kubectl rollout status deployment container6 --timeout=30s
403+
kubectl wait --for=condition=Ready pods --all --timeout=30s
402404
mkdir test3_netperf
403405
sh hack/scripts/netperf.sh
404406
echo "collect cpu and mem results after netperf tests"

0 commit comments

Comments
 (0)