Fix copy-paste error in app access test (#68259)

We were registering cleanup actions to close the same
streamableHTTPServer twice, and never closing streamableHTTPTLSServer.
This commit is contained in:
Zac Bergquist
2026-06-30 12:27:55 -06:00
committed by GitHub
parent 1beba9bb45
commit e31ae30864
+1 -1
View File
@@ -72,7 +72,7 @@ func TestAppAccess(t *testing.T) {
streamableHTTPTLSServer := httptest.NewTLSServer(mcpserver.NewStreamableHTTPServer(mcptest.NewServer()))
streamableHTTPTLSServerURL := "mcp+" + streamableHTTPTLSServer.URL + "/mcp"
t.Cleanup(streamableHTTPServer.Close)
t.Cleanup(streamableHTTPTLSServer.Close)
extraApps := []servicecfg.App{
{