Skip to content

Commit

Permalink
chore: remove dump (envoyproxy#4593)
Browse files Browse the repository at this point in the history
Signed-off-by: zirain <[email protected]>
  • Loading branch information
zirain authored Oct 31, 2024
1 parent 74f4377 commit efe625d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
7 changes: 1 addition & 6 deletions test/e2e/tests/oidc-backendcluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,14 @@ func init() {
ConformanceTests = append(ConformanceTests, OIDCBackendClusterTest)
}

// OIDCTest tests OIDC authentication for an http route with OIDC configured.
// OIDCBackendClusterTest tests OIDC authentication for an http route with OIDC configured.
// The http route points to an application to verify that OIDC authentication works on application/http path level.
var OIDCBackendClusterTest = suite.ConformanceTest{
ShortName: "OIDC with BackendCluster",
Description: "Test OIDC authentication",
Manifests: []string{"testdata/oidc-keycloak.yaml", "testdata/oidc-securitypolicy-backendcluster.yaml"},
Test: func(t *testing.T, suite *suite.ConformanceTestSuite) {
t.Run("oidc provider represented by a BackendCluster", func(t *testing.T) {
// Add a function to dump current cluster status
t.Cleanup(func() {
CollectAndDump(t, suite.RestConfig)
})

testOIDC(t, suite)
})
},
Expand Down
5 changes: 0 additions & 5 deletions test/e2e/tests/oidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ var OIDCTest = suite.ConformanceTest{
Manifests: []string{"testdata/oidc-keycloak.yaml", "testdata/oidc-securitypolicy.yaml"},
Test: func(t *testing.T, suite *suite.ConformanceTestSuite) {
t.Run("oidc provider represented by a URL", func(t *testing.T) {
// Add a function to dump current cluster status
t.Cleanup(func() {
CollectAndDump(t, suite.RestConfig)
})

testOIDC(t, suite)
})

Expand Down

0 comments on commit efe625d

Please sign in to comment.