diff --git a/test/system.sh b/test/system.sh index faa9b412..61ae793d 100755 --- a/test/system.sh +++ b/test/system.sh @@ -47,7 +47,7 @@ kubectl apply -f ${repo}/examples/${example}/base-server.yaml # Wait until both are ready # TODO: Consider adding common "Ready" condition to make this check easier. kubectl wait --for=jsonpath='{.status.ready}'=true models --all --timeout 720s -kubectl wait --for=condition=Ready pod -l server=${example} --all --timeout 720s +kubectl wait --for=jsonpath='{.status.ready}'=true servers --all --timeout 720s # Forward ports to localhost kubectl port-forward service/$example-server 8080:8080 &