Skip to content

Commit 933f6f1

Browse files
committed
review feedback
1 parent 6a9f0dc commit 933f6f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/templates/kuttl/spark-connect/10-assert.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ commands:
1818
# Sleep to prevent the following spark connect app from failing
1919
# while the spark-connect server is busy setting up the executors.
2020
- script: |
21-
# wait for the spark-connect-server-0 pod to become ready
21+
# wait for the spark-connect CR to become available
2222
# this is to prevent the spark apps created in the following test steps to fail intermitently
23-
kubectl wait --for=condition=Ready pod/spark-connect-server-0 --namespace "$NAMESPACE" --timeout=3m
23+
kubectl wait --for=condition=Available sparkconnectservers/spark-connect --namespace "$NAMESPACE" --timeout=3m
2424
2525
EXECUTOR_COUNT=$(kubectl get pods -n "$NAMESPACE" --selector 'spark-app-name=spark-connect-server' --field-selector='status.phase=Running' -o NAME|wc -l)
2626
test 1 -eq "$EXECUTOR_COUNT"

0 commit comments

Comments
 (0)