From f3cbe2e29a031959eaa09079d08ced76bbe68960 Mon Sep 17 00:00:00 2001 From: Seth Hoenig Date: Fri, 8 Dec 2023 10:44:43 -0600 Subject: [PATCH] e2e: sleep a bit in short lived docker jobs (#19384) --- e2e/artifact/input/artifact_linux.nomad | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/e2e/artifact/input/artifact_linux.nomad b/e2e/artifact/input/artifact_linux.nomad index 0fb4a375a..45be009ee 100644 --- a/e2e/artifact/input/artifact_linux.nomad +++ b/e2e/artifact/input/artifact_linux.nomad @@ -243,7 +243,7 @@ job "linux" { driver = "docker" config { image = "bash:5" - args = ["cat", "local/go.mod"] + args = ["-c", "cat local/go.mod && sleep 10"] } resources { cpu = 16 @@ -260,7 +260,7 @@ job "linux" { driver = "docker" config { image = "bash:5" - args = ["cat", "local/my/path/go.mod"] + args = ["-c", "cat local/my/path/go.mod && sleep 10"] } resources { cpu = 16 @@ -278,7 +278,7 @@ job "linux" { driver = "docker" config { image = "bash:5" - args = ["cat", "${NOMAD_ALLOC_DIR}/go.mod"] + args = ["-c", "cat ${NOMAD_ALLOC_DIR}/go.mod && sleep 10"] } resources { cpu = 16 @@ -294,7 +294,7 @@ job "linux" { driver = "docker" config { image = "bash:5" - args = ["cat", "local/go-set-main/go.mod"] + args = ["-c", "cat local/go-set-main/go.mod && sleep 10"] } resources { cpu = 16 @@ -311,7 +311,7 @@ job "linux" { driver = "docker" config { image = "bash:5" - args = ["cat", "local/my/zip/go-set-main/go.mod"] + args = ["-c", "cat local/my/zip/go-set-main/go.mod && sleep 10"] } resources { cpu = 16 @@ -328,7 +328,7 @@ job "linux" { driver = "docker" config { image = "bash:5" - args = ["cat", "local/repository/go.mod"] + args = ["-c", "cat local/repository/go.mod && sleep 10"] } resources { cpu = 16