Skip to content

Commit f58a524

Browse files
adwk67sbernauer
andauthored
Update tests/templates/kuttl/spark-connect/11-assert.yaml
I left out the sparkconnectservers check as we check the statefulset, and that waits for the driver. We can keep this check in, but, just for my understanding, do we *need* both? Co-authored-by: Sebastian Bernauer <[email protected]>
1 parent 9ce5619 commit f58a524

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ commands:
88
# while the spark-connect server is busy setting up the executors.
99
- script: |
1010
# wait for the spark-connect CR to become available
11+
kubectl wait --for=condition=Available sparkconnectservers/spark-connect --namespace "$NAMESPACE" --timeout=3m
12+
13+
# FIXME: As the status currently does not respect the executors state, we wait for them to be ready ourselves
14+
# (see TODO comment in code):
1115
kubectl wait --for=condition=Ready pod -l spark-app-name=spark-connect-server -n "$NAMESPACE" --timeout=10m
1216
1317
# wait a little longer to increase the chance apps being able to connect

0 commit comments

Comments
 (0)