Skip to content

Commit 665ec98

Browse files
-1
1 parent 40fc008 commit 665ec98

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

charts/sombra/charts/sombra-job-scheduler/tests/deployment_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ tests:
2222
command:
2323
- /bin/sh
2424
- -c
25-
- test -f /tmp/sombra-job-scheduler-alive && find /tmp/sombra-job-scheduler-alive -mmin 1 -print -quit 2>/dev/null | grep -q .
25+
- test -f /tmp/sombra-job-scheduler-alive && find /tmp/sombra-job-scheduler-alive -mmin -1 -print -quit 2>/dev/null | grep -q .
2626
timeoutSeconds: 30
2727
periodSeconds: 10
2828
successThreshold: 1

charts/sombra/charts/sombra-job-scheduler/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,15 @@ resources:
6969
livenessProbe:
7070
exec:
7171
# This tests to see whether the file /tmp/sombra-job-scheduler-alive exists (test -f)
72-
# and if it was modified within the last minute: `find ... -mmin 1 ....`
72+
# and if it was modified within the last minute: `find ... -mmin -1 ....`
7373
# Every time sombra-job-scheduler executes it's loop to pollSombraJobs
7474
# it touches /tmp/sombra-job-scheduler-alive. This happens every pollingInterval
7575
# (which defaults to 20 seconds). Therefore, if /tmp/sombra-job-scheduler-alive is missing
7676
# or hasn't been updated in over a minute, it means pollSombraJobs has not been running.
7777
command:
7878
- /bin/sh
7979
- -c
80-
- test -f /tmp/sombra-job-scheduler-alive && find /tmp/sombra-job-scheduler-alive -mmin 1 -print -quit 2>/dev/null | grep -q .
80+
- test -f /tmp/sombra-job-scheduler-alive && find /tmp/sombra-job-scheduler-alive -mmin -1 -print -quit 2>/dev/null | grep -q .
8181
timeoutSeconds: 30
8282
periodSeconds: 10
8383
successThreshold: 1
@@ -89,7 +89,7 @@ startupProbe:
8989
command:
9090
- /bin/sh
9191
- -c
92-
- test -f /tmp/sombra-job-scheduler-alive && find /tmp/sombra-job-scheduler-alive -mmin 1 -print -quit 2>/dev/null | grep -q .
92+
- test -f /tmp/sombra-job-scheduler-alive && find /tmp/sombra-job-scheduler-alive -mmin -1 -print -quit 2>/dev/null | grep -q .
9393
timeoutSeconds: 30
9494
periodSeconds: 20
9595
successThreshold: 1

0 commit comments

Comments
 (0)