Skip to content

Commit

Permalink
Adapt according to review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
barchw committed Dec 3, 2024
1 parent 34b70fc commit 9f8cf96
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/integration/pkg/hooks/api-gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ var ApiGatewayCrTearDownScenarioHook = func(ctx context.Context, sc *godog.Scena
return ctx, nil
}

func ApplyAndVerifyApiGateway(scaleDownOathkeeper bool) error {
func applyAndVerifyApiGateway(scaleDownOathkeeper bool) error {
log.Printf("Creating APIGateway CR %s", ApiGatewayCRName)
k8sClient := k8sclient.GetK8sClient()

Expand Down Expand Up @@ -137,7 +137,7 @@ func ApplyAndVerifyApiGateway(scaleDownOathkeeper bool) error {
}

return nil
}, retry.DelayType(retry.FixedDelay), retry.Delay(500), retry.Attempts(1200))
}, testcontext.GetRetryOpts()...)

if err != nil {
return err
Expand All @@ -149,11 +149,11 @@ func ApplyAndVerifyApiGateway(scaleDownOathkeeper bool) error {
}

var ApplyAndVerifyApiGatewayCrSuiteHook = func() error {
return ApplyAndVerifyApiGateway(false)
return applyAndVerifyApiGateway(false)
}

var ApplyAndVerifyApiGatewayWithoutOathkeeperCrSuiteHook = func() error {
return ApplyAndVerifyApiGateway(true)
return applyAndVerifyApiGateway(true)
}

var DeleteBlockingResourcesSuiteHook = func() error {
Expand Down

0 comments on commit 9f8cf96

Please sign in to comment.