diff --git a/test/e2e/functional/stop-terminate.yaml b/test/e2e/functional/stop-terminate.yaml index db2bf56c5e3b..7d7b2a0015a9 100644 --- a/test/e2e/functional/stop-terminate.yaml +++ b/test/e2e/functional/stop-terminate.yaml @@ -11,7 +11,7 @@ spec: tasks: - name: A template: echo - onExit: exit + onExit: exit-template - name: echo container: @@ -19,6 +19,14 @@ spec: 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