Skip to content

Commit 52ad98a

Browse files
committed
fix: increase server startup delay in transport test and remove unused transport type constants
Signed-off-by: jbrinkman <joe.brinkman@improving.com>
1 parent 6e66b95 commit 52ad98a

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

‎internal/mcp/server_mcp.go‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,7 @@ import (
1919
"github.com/jbrinkman/valkey-ai-tasks/internal/utils/markdown"
2020
)
2121

22-
// TransportType represents the type of transport protocol
23-
type TransportType string
24-
25-
const (
26-
// TransportSSE represents Server-Sent Events transport
27-
TransportSSE TransportType = "sse"
28-
// TransportStreamableHTTP represents Streamable HTTP transport
29-
TransportStreamableHTTP TransportType = "streamable-http"
30-
)
22+
3123

3224
// ServerConfig holds configuration for the MCP server
3325
type ServerConfig struct {

‎tests/integration/transport_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func (s *TransportTestSuite) setupTestServer(enableSSE bool, enableStreamableHTT
4747
}()
4848

4949
// Give the server time to start
50-
time.Sleep(100 * time.Millisecond)
50+
time.Sleep(500 * time.Millisecond)
5151

5252
// Return a cleanup function
5353
cleanup := func() {

0 commit comments

Comments
 (0)