Skip to content

fix: close httptest servers in test cleanup#151

Merged
kacpersaw merged 1 commit into
mainfrom
kacpersaw/fix-integration-cleanup
Feb 2, 2026
Merged

fix: close httptest servers in test cleanup#151
kacpersaw merged 1 commit into
mainfrom
kacpersaw/fix-integration-cleanup

Conversation

@kacpersaw

Copy link
Copy Markdown
Contributor

The httptest servers were not being closed, causing the test process to hang for up to 5 seconds waiting for connections to close. This caused the integration test job to exceed the 10-minute timeout.

Adds t.Cleanup(fakeAPI.server.Close) to both newFakeAgentAPI and newFailingAgentAPI.

The test servers were not being closed, causing the test process to hang
for up to 5 seconds waiting for connections to close. This caused the
integration test job to exceed the 10-minute timeout.
@kacpersaw kacpersaw merged commit e66bd13 into main Feb 2, 2026
3 checks passed
@kacpersaw kacpersaw deleted the kacpersaw/fix-integration-cleanup branch February 2, 2026 11:58
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.

2 participants