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]>
(cherry picked from commit efe625d)
Signed-off-by: Huabing Zhao <[email protected]>
  • Loading branch information
zirain authored and zhaohuabing committed Nov 6, 2024
1 parent 4227f41 commit 79f128a
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 79f128a

Please sign in to comment.