Skip to content

Commit

Permalink
fix: increase timeout for NPE case (#981)
Browse files Browse the repository at this point in the history
* increase timeout when waiting for snapshot to be marked as cucceeded
  in namespace-backed-environments.go

Signed-off-by: Hongwei Liu <[email protected]>
  • Loading branch information
hongweiliu17 authored Dec 25, 2023
1 parent 598c12c commit 8c37123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration-service/namespace-backed-environments.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ var _ = framework.IntegrationServiceSuiteDescribe("Namespace-backed Environment
Eventually(func() bool {
snapshot, err = f.AsKubeAdmin.IntegrationController.GetSnapshot("", pipelineRun.Name, "", testNamespace)
return err == nil && f.AsKubeAdmin.CommonController.HaveTestsSucceeded(snapshot)
}, time.Minute*3, time.Second*5).Should(BeTrue(), fmt.Sprintf("Timed out waiting for Snapshot to be marked as succeeded %s/%s", snapshot.GetNamespace(), snapshot.GetName()))
}, time.Minute*5, time.Second*5).Should(BeTrue(), fmt.Sprintf("Timed out waiting for Snapshot to be marked as succeeded %s/%s", snapshot.GetNamespace(), snapshot.GetName()))
})

It("should lead to SnapshotEnvironmentBinding getting deleted", func() {
Expand Down

0 comments on commit 8c37123

Please sign in to comment.