Skip to content

Commit d1d62a3

Browse files
jhrozekclaude
andcommitted
Fix E2E test to use OIDC incoming auth with auth server config
ValidateAuthServerIntegration (added in 0810bda) requires OIDC incoming auth when AuthServerConfig is present. The pre-existing E2E test used anonymous auth, causing the condition to be overwritten to False and the test to time out. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 0810bda commit d1d62a3

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

test/e2e/thv-operator/virtualmcp/virtualmcp_authserver_config_test.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,13 @@ var _ = Describe("VirtualMCPServer AuthServerConfig Validation", Ordered, func()
4747
},
4848
Spec: mcpv1alpha1.VirtualMCPServerSpec{
4949
IncomingAuth: &mcpv1alpha1.IncomingAuthConfig{
50-
Type: "anonymous",
50+
Type: "oidc",
51+
OIDCConfig: &mcpv1alpha1.OIDCConfigRef{
52+
Type: "inline",
53+
Inline: &mcpv1alpha1.InlineOIDCConfig{
54+
Issuer: "http://localhost:9090",
55+
},
56+
},
5157
},
5258
Config: vmcpconfig.Config{Group: mcpGroupName},
5359
AuthServerConfig: &mcpv1alpha1.EmbeddedAuthServerConfig{

0 commit comments

Comments
 (0)