Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestKongEnterprisePostgres fails if Gateway image version is 3.0.0.0 #438

Closed
1 task done
jrsmroz opened this issue Oct 28, 2022 · 0 comments · Fixed by #566
Closed
1 task done

TestKongEnterprisePostgres fails if Gateway image version is 3.0.0.0 #438

jrsmroz opened this issue Oct 28, 2022 · 0 comments · Fixed by #566
Labels
bug Something isn't working

Comments

@jrsmroz
Copy link
Contributor

jrsmroz commented Oct 28, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When the TestKongEnterprisePostgres is run with Gateway image version 3.0.0.0, the test fails.

Logs shows that the version is not enterprise.

    enterprise_test.go:90: verifying the admin api version is enterprise
    enterprise_test.go:95: admin output: &{Version:3.0.0.0}
	t.Log("verifying the admin api version is enterprise")
	adminOutput := struct {
		Version string `json:"version"`
	}{}
	require.NoError(t, json.Unmarshal(body, &adminOutput))
	t.Logf("admin output: %+v", &adminOutput)
	require.True(t, strings.Contains(adminOutput.Version, "enterprise-edition"))

Expected Behavior

No response

Steps To Reproduce

Change `DefaultEnterpriseImageTag = "3.0.0.0-alpine"` and run `TestKongEnterprisePostgres` test.

Kong Kubernetes Testing Framework Version

No response

Kubernetes version

No response

Anything else?

Need to investigate why bumping kong enterprise image from 2.7.0.0 to 3.0.0.0 breaks KTF.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant