diff options
| -rw-r--r-- | internal/mcp/handlers_prompt_test.go | 8 | ||||
| -rw-r--r-- | internal/version.go | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/internal/mcp/handlers_prompt_test.go b/internal/mcp/handlers_prompt_test.go index 17b0607..f3a9d87 100644 --- a/internal/mcp/handlers_prompt_test.go +++ b/internal/mcp/handlers_prompt_test.go @@ -885,8 +885,12 @@ func TestServer_Run_InvalidJSON(t *testing.T) { done <- server.Run() }() - // Give time for processing - time.Sleep(50 * time.Millisecond) + // Wait for processing to complete + select { + case <-done: + case <-time.After(2 * time.Second): + t.Fatal("server.Run() did not return in time") + } // Should have written error response if outBuf.Len() == 0 { diff --git a/internal/version.go b/internal/version.go index e569bfa..585f499 100644 --- a/internal/version.go +++ b/internal/version.go @@ -1,4 +1,4 @@ // Package internal provides the Hexai semantic version identifier used by CLI and LSP binaries. package internal -const Version = "0.41.0" +const Version = "0.41.1" |
