From e76f8cfef16f20eccdf083b096b973a653e8bb5a Mon Sep 17 00:00:00 2001 From: "toyamagu2021@gmail.com" Date: Sun, 24 Sep 2023 18:04:29 +0900 Subject: [PATCH] ci: temporal workaround for flakiness of TestStopBehavior Signed-off-by: toyamagu2021@gmail.com --- test/e2e/functional/stop-terminate.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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