diff --git a/test/e2e/test_helm_install_upgrade.go b/test/e2e/test_helm_install_upgrade.go index 99cec50d..9e5bf858 100644 --- a/test/e2e/test_helm_install_upgrade.go +++ b/test/e2e/test_helm_install_upgrade.go @@ -194,7 +194,7 @@ func TestHelmUpgrade(t *testing.T) { { Name: "DataPlane deployment is not patched after operator upgrade", Func: func(c *assert.CollectT, cl *testutils.K8sClients) { - gatewayDataPlaneDeploymentIsNotPatched("gw-upgrade-latestminor-current=true")(ctx, c, cl.MgrClient) + gatewayDataPlaneDeploymentIsPatched("gw-upgrade-latestminor-current=true")(ctx, c, cl.MgrClient) }, }, { @@ -265,7 +265,7 @@ func TestHelmUpgrade(t *testing.T) { { Name: "DataPlane deployment is not patched after operator upgrade", Func: func(c *assert.CollectT, cl *testutils.K8sClients) { - gatewayDataPlaneDeploymentIsNotPatched("gw-upgrade-nightly-to-current=true")(ctx, c, cl.MgrClient) + gatewayDataPlaneDeploymentIsPatched("gw-upgrade-nightly-to-current=true")(ctx, c, cl.MgrClient) }, }, { @@ -293,7 +293,7 @@ func TestHelmUpgrade(t *testing.T) { for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { // Repository is different for OSS and Enterprise images and it should be set accordingly. - var kgoImageRepository = "docker.io/kong/gateway-operator-oss" + kgoImageRepository := "docker.io/kong/gateway-operator-oss" if helpers.GetDefaultDataPlaneBaseImage() == consts.DefaultDataPlaneBaseEnterpriseImage { kgoImageRepository = "docker.io/kong/gateway-operator" }