File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
tests/templates/kuttl/spark-connect Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,10 @@ commands:
3333 # while the spark-connect server is busy setting up the executors.
3434 - script : |
3535 # wait for the spark-connect CR to become available
36- # this is to prevent the spark apps created in the following test steps to fail intermitently
3736 kubectl wait --for=condition=Available sparkconnectservers/spark-connect --namespace "$NAMESPACE" --timeout=3m
3837
3938 EXECUTOR_COUNT=$(kubectl get pods -n "$NAMESPACE" --selector 'spark-app-name=spark-connect-server' --field-selector='status.phase=Running' -o NAME|wc -l)
4039 test 1 -eq "$EXECUTOR_COUNT"
40+
41+ # wait a little longer to increase the chance apps being able to connect
42+ sleep 5
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ apiVersion: kuttl.dev/v1beta1
33kind : TestAssert
44metadata :
55 name : simple-connect-app
6- timeout : 180
6+ timeout : 300
77---
88apiVersion : batch/v1
99kind : Job
You can’t perform that action at this time.
0 commit comments