@@ -22,21 +22,19 @@ func generateUniqueProxyStdioServerName(prefix string) string {
22
22
23
23
var _ = Describe ("Proxy Stdio E2E" , Serial , func () {
24
24
var (
25
- config * e2e.TestConfig
26
- proxyCmd * exec.Cmd
27
- mcpServerName string
28
- workloadName string
29
- proxyServerName string
30
- transportType types.TransportType
31
- proxyMode string // e.g. "sse" or "streamable-http"
25
+ config * e2e.TestConfig
26
+ proxyCmd * exec.Cmd
27
+ mcpServerName string
28
+ workloadName string
29
+ transportType types.TransportType
30
+ proxyMode string // e.g. "sse" or "streamable-http"
32
31
)
33
32
34
33
BeforeEach (func () {
35
34
config = e2e .NewTestConfig ()
36
35
err := e2e .CheckTHVBinaryAvailable (config )
37
36
Expect (err ).ToNot (HaveOccurred ())
38
37
workloadName = generateUniqueProxyStdioServerName ("mcpserver-proxy-stdio--target" )
39
- proxyServerName = generateUniqueProxyStdioServerName ("mcpserver-proxy-test" )
40
38
})
41
39
42
40
JustBeforeEach (func () {
@@ -94,7 +92,6 @@ var _ = Describe("Proxy Stdio E2E", Serial, func() {
94
92
proxyCmd , stdin , outputBuffer := startProxyStdioForMCP (
95
93
config ,
96
94
workloadName ,
97
- proxyServerName ,
98
95
)
99
96
100
97
// Ensure the proxy started
@@ -146,7 +143,6 @@ var _ = Describe("Proxy Stdio E2E", Serial, func() {
146
143
proxyCmd , stdin , outputBuffer := startProxyStdioForMCP (
147
144
config ,
148
145
workloadName ,
149
- proxyServerName ,
150
146
)
151
147
152
148
// Ensure the proxy started
@@ -198,7 +194,6 @@ var _ = Describe("Proxy Stdio E2E", Serial, func() {
198
194
proxyCmd , stdin , outputBuffer := startProxyStdioForMCP (
199
195
config ,
200
196
workloadName ,
201
- proxyServerName ,
202
197
)
203
198
204
199
// Ensure the proxy started
@@ -230,12 +225,11 @@ var _ = Describe("Proxy Stdio E2E", Serial, func() {
230
225
})
231
226
232
227
// Helper functions
233
- func startProxyStdioForMCP (config * e2e.TestConfig , workloadName string , proxyServerName string ) (* exec.Cmd , io.WriteCloser , * bytes.Buffer ) {
228
+ func startProxyStdioForMCP (config * e2e.TestConfig , workloadName string ) (* exec.Cmd , io.WriteCloser , * bytes.Buffer ) {
234
229
args := []string {
235
230
"proxy" ,
236
231
"stdio" ,
237
232
workloadName ,
238
- proxyServerName ,
239
233
}
240
234
241
235
// Log the command for debugging
0 commit comments