From 63a502f3c4b088b96dbe9f0652c4a82298c11b5b Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Thu, 30 Jan 2020 12:07:49 +0100 Subject: [PATCH] Increase timeout for e2e test_retry test We were checking that the pipeline were failing in under a minute but on some slow cloud this was not enough to detect, let's increase it to 5mn Signed-off-by: Chmouel Boudjnah --- test/retry_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/retry_test.go b/test/retry_test.go index 1f3d10d0bd0..886380e1b72 100644 --- a/test/retry_test.go +++ b/test/retry_test.go @@ -62,7 +62,7 @@ func TestTaskRunRetry(t *testing.T) { } // Wait for the PipelineRun to fail, when retries are exhausted. - if err := WaitForPipelineRunState(c, pipelineRunName, time.Minute, PipelineRunFailed(pipelineRunName), "PipelineRunFailed"); err != nil { + if err := WaitForPipelineRunState(c, pipelineRunName, 5*time.Minute, PipelineRunFailed(pipelineRunName), "PipelineRunFailed"); err != nil { t.Fatalf("Waiting for PipelineRun to fail: %v", err) }