This avoids a deadlock on resource failure when retry==0. Without this we would never exit. This adds a test in too!
16 lines
244 B
YAML
16 lines
244 B
YAML
---
|
|
graph: mygraph
|
|
resources:
|
|
exec:
|
|
- name: exec1
|
|
cmd: false this should fail but not hang
|
|
shell: ''
|
|
timeout: 0
|
|
watchcmd: sleep 5s
|
|
watchshell: ''
|
|
ifcmd: ''
|
|
ifshell: ''
|
|
pollint: 0
|
|
state: present
|
|
edges: []
|