Skip to content

Commit 245b8f9

Browse files
committed
Merge branch 'main' into feat/spark-4
2 parents 75f9125 + f0381e7 commit 245b8f9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: kuttl.dev/v1beta1
33
kind: TestAssert
44
metadata:
55
name: simple-connect-app
6-
timeout: 180
6+
timeout: 300
77
---
88
apiVersion: batch/v1
99
kind: Job

0 commit comments

Comments
 (0)