Skip to content

Commit

Permalink
fixup! Add e2e tests to verify vulnerability scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
karanibm6 committed Mar 7, 2024
1 parent 00acc92 commit b44fc78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/v1beta1/common_cbs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (c *clusterBuildStrategyPrototype) Create() (cbs *buildapi.ClusterBuildStra
return nil, err
}

err = wait.PollImmediate(pollCreateInterval, pollCreateTimeout, func() (done bool, err error) {
err = wait.PollUntilContextTimeout(ctx, pollCreateInterval, pollCreateTimeout, true, func(context.Context) (done bool, err error) {
cbs, err = testBuild.BuildClientSet.ShipwrightV1beta1().ClusterBuildStrategies().Get(ctx, c.clusterBuildStrategy.Name, meta.GetOptions{})
if err != nil {
return false, err
Expand Down

0 comments on commit b44fc78

Please sign in to comment.