Skip to content

Commit

Permalink
Increase timeou for e2e test_retry test
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
chmouel committed Jan 30, 2020
1 parent e6928bd commit c9f7dfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/retry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, time.Minute*5, PipelineRunFailed(pipelineRunName), "PipelineRunFailed"); err != nil {
t.Fatalf("Waiting for PipelineRun to fail: %v", err)
}

Expand Down

0 comments on commit c9f7dfd

Please sign in to comment.