diff --git a/test/e2e/workflow_configmap_substitution_test.go b/test/e2e/workflow_configmap_substitution_test.go index 2b9e7a16d5c5..7328010388fd 100644 --- a/test/e2e/workflow_configmap_substitution_test.go +++ b/test/e2e/workflow_configmap_substitution_test.go @@ -5,6 +5,7 @@ package e2e import ( "testing" + "time" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" @@ -52,6 +53,7 @@ spec: "cmref-parameters", map[string]string{"msg": "hello world"}, map[string]string{"workflows.argoproj.io/configmap-type": "Parameter"}). + Wait(1 * time.Second). SubmitWorkflow(). WaitForWorkflow(fixtures.ToBeSucceeded). DeleteConfigMap("cmref-parameters"). @@ -95,6 +97,7 @@ spec: "cmref-parameters", map[string]string{"msg": "hello world"}, map[string]string{"workflows.argoproj.io/configmap-type": "Parameter"}). + Wait(1 * time.Second). SubmitWorkflow(). WaitForWorkflow(fixtures.ToBeSucceeded). DeleteConfigMap("cmref-parameters"). @@ -173,6 +176,7 @@ spec: "cmref-parameters", map[string]string{"msg": "hello world"}, map[string]string{"workflows.argoproj.io/configmap-type": "Parameter"}). + Wait(1 * time.Second). SubmitWorkflow(). WaitForWorkflow(fixtures.ToBeSucceeded). DeleteConfigMap("cmref-parameters"). diff --git a/test/e2e/workflow_inputs_orverridable_test.go b/test/e2e/workflow_inputs_orverridable_test.go index 6c62245c5c90..e92f72a3afb1 100644 --- a/test/e2e/workflow_inputs_orverridable_test.go +++ b/test/e2e/workflow_inputs_orverridable_test.go @@ -5,6 +5,7 @@ package e2e import ( "testing" + "time" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" @@ -53,6 +54,7 @@ spec: "cmref-parameters", map[string]string{"cmref-key": "input-value"}, map[string]string{"workflows.argoproj.io/configmap-type": "Parameter"}). + Wait(1 * time.Second). SubmitWorkflow(). WaitForWorkflow(fixtures.ToBeSucceeded). DeleteConfigMap("cmref-parameters"). @@ -105,6 +107,7 @@ spec: "new-cmref-parameters", map[string]string{"cmref-key": "arg-value"}, map[string]string{"workflows.argoproj.io/configmap-type": "Parameter"}). + Wait(1 * time.Second). SubmitWorkflow(). WaitForWorkflow(fixtures.ToBeSucceeded). DeleteConfigMap("cmref-parameters"). @@ -188,6 +191,7 @@ spec: "cmref-parameters", map[string]string{"cmref-key": "arg-value"}, map[string]string{"workflows.argoproj.io/configmap-type": "Parameter"}). + Wait(1 * time.Second). SubmitWorkflow(). WaitForWorkflow(fixtures.ToBeSucceeded). DeleteConfigMap("cmref-parameters").