Skip to content

Commit

Permalink
ci: temporal workaround for flakiness of TestStopBehavior (#11881)
Browse files Browse the repository at this point in the history
toyamagu-2021 authored Sep 24, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent d0588ea commit 35e4b17
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion test/e2e/functional/stop-terminate.yaml
Original file line number Diff line number Diff line change
@@ -11,14 +11,22 @@ spec:
tasks:
- name: A
template: echo
onExit: exit
onExit: exit-template

- name: echo
container:
image: argoproj/argosay:v1
command: [ sleep ]
args: [ "999" ]

# This sleep value is only a temporal workaround ensuring template-level hooks finish faster.
# See https://github.com/argoproj/argo-workflows/issues/11880
- name: exit
container:
image: argoproj/argosay:v1
command: [ sleep ]
args: [ "4" ]

- name: exit-template
container:
image: argoproj/argosay:v1

0 comments on commit 35e4b17

Please sign in to comment.