Skip to content

Commit 7d09cd7

Browse files
authored
Should skip install update (#10568)
1 parent 898a84f commit 7d09cd7

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
changelog:
2+
- type: FIX
3+
issueLink: https://github.com/solo-io/solo-projects/issues/7432
4+
resolvesIssue: false
5+
description: >-
6+
Export IsGatewayInstalled for use in other packages

test/kubernetes/e2e/test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -197,13 +197,13 @@ func (i *TestInstallation) InstallGlooGatewayWithTestHelper(ctx context.Context,
197197
i.InstallGlooGateway(ctx, installFn)
198198
}
199199

200-
func (i *TestInstallation) isGatewayInstalled(ctx context.Context) bool {
200+
func (i *TestInstallation) IsGatewayInstalled(ctx context.Context) bool {
201201
return i.Assertions.CheckResourcesOk(ctx) == nil
202202
}
203203

204204
func (i *TestInstallation) InstallGlooGateway(ctx context.Context, installFn func(ctx context.Context) error) {
205205

206-
if !testutils.ShouldSkipInstall(i.isGatewayInstalled(ctx)) {
206+
if !testutils.ShouldSkipInstall(i.IsGatewayInstalled(ctx)) {
207207
err := installFn(ctx)
208208
i.Assertions.Require.NoError(err)
209209
i.Assertions.EventuallyInstallationSucceeded(ctx)

0 commit comments

Comments
 (0)