Skip to content

Commit 51824b6

Browse files
committed
Set restartPolicy to Never for Job tests
1 parent 7232223 commit 51824b6

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

test/e2e/local/job-minimal.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ metadata:
44
name: minimal-job
55
spec:
66
cluster: test
7+
restartPolicy: Never
78

89

test/e2e/local/job-test.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
spec:
66
cluster: test
77
image: ${TEST_APPLICATION_IMAGE}
8+
restartPolicy: Never
89
env:
910
- name: APPLICATION_LIFETIME_SECONDS
1011
value: "30"

test/e2e/local/job-with-ready-action.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ spec:
66
cluster: test
77
replicas: 3
88
image: ${TEST_APPLICATION_IMAGE}
9+
restartPolicy: Never
910
readyAction:
1011
httpGet:
1112
port: rest

0 commit comments

Comments
 (0)