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:
33
33
# while the spark-connect server is busy setting up the executors.
34
34
- script : |
35
35
# 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
37
36
kubectl wait --for=condition=Available sparkconnectservers/spark-connect --namespace "$NAMESPACE" --timeout=3m
38
37
39
38
EXECUTOR_COUNT=$(kubectl get pods -n "$NAMESPACE" --selector 'spark-app-name=spark-connect-server' --field-selector='status.phase=Running' -o NAME|wc -l)
40
39
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
3
3
kind : TestAssert
4
4
metadata :
5
5
name : simple-connect-app
6
- timeout : 180
6
+ timeout : 300
7
7
---
8
8
apiVersion : batch/v1
9
9
kind : Job
You can’t perform that action at this time.
0 commit comments