Skip to content

core/instructions test: close the test servers for real - #174

Merged
delpher merged 1 commit into
masterfrom
core/instructions-test-fix
Nov 28, 2026
Merged

delpher merged 1 commit into
masterfrom
core/instructions-test-fix

Conversation

@delpher

@delpher delpher commented Nov 28, 2026

Copy link
Copy Markdown
Owner

A follow-up to #173 (antigravity-alexey, AIChat 4098). The test called closeAllConnections on the { base, close } wrapper instead of on the http.Server, so it never ran, and a slow server was only abandoned after Promise.race. Now close() in the helper closes the server and drops its hanging connections, so the race is gone.

node --test src/adapters/core/instructions.test.mjs: 4 pass.

🤖 Generated with Claude Code

…ections on the server, not the wrapper)

antigravity-alexey, 4098.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@delpher
delpher merged commit abf338e into master Nov 28, 2026
3 checks passed
@delpher delpher mentioned this pull request Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant