mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-13 14:16:08 +00:00
test(integration): serialize abort provider leak checks
This commit is contained in:
1 parent
f771cff77c
commit
6d0ed4eee2
1 file changed
-4
@@ -16,8 +16,6 @@ import (
|
||||
// while a Chat call is in flight properly closes the HTTP connection.
|
||||
// Uses a stalling SSE server that only responds if data flows from it.
|
||||
func TestAnthropicChat_AbortContextCancel(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
// Start a stalling SSE server
|
||||
server := newStallingSSEServer(t)
|
||||
defer server.Close()
|
||||
@@ -68,8 +66,6 @@ func TestAnthropicChat_AbortContextCancel(t *testing.T) {
|
||||
|
||||
// TestOpenAIChat_AbortContextCancel mirrors the Anthropic test for OpenAI-compatible providers.
|
||||
func TestOpenAIChat_AbortContextCancel(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
server := newStallingSSEServer(t)
|
||||
defer server.Close()
|
||||
|
||||
|
||||
Reference in new issue
Block a user