diff options
| author | Paul Buetow <paul@buetow.org> | 2026-06-09 22:42:39 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-06-09 22:42:39 +0300 |
| commit | 7e436b53f289683d27617f1e2b2f2b5899ecfffb (patch) | |
| tree | 9560b8f2517ae08e4daf21fa837a83d477433531 /internal | |
| parent | dc17b7469c2055961892bbb3175d4ab0fb1d1180 (diff) | |
Diffstat (limited to 'internal')
| -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" |
