From 9ad92f641a4890a50bed4aa5ef3e139bf3d14a4e Mon Sep 17 00:00:00 2001 From: Sam Stoelinga Date: Sun, 1 Oct 2023 22:16:42 -0700 Subject: [PATCH] fix ready check for server --- test/system.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 &