Skip to content

Fix issue 1594 (test_add_timeout leaks a 1-second timeout into the shared client) - #1595

Merged
antoineeripret merged 1 commit into
burnash:masterfrom
Ev2geny:issue_1594
Jul 16, 2026
Merged

Fix issue 1594 (test_add_timeout leaks a 1-second timeout into the shared client)#1595
antoineeripret merged 1 commit into
burnash:masterfrom
Ev2geny:issue_1594

Conversation

@Ev2geny

@Ev2geny Ev2geny commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Restore the default timeout when the test test_add_timeout finishes, so it cannot leak into the shared client.

This fixes this issue #1594

After this change all online tests passed for me.

Restore the default timeout when the test test_add_timeout
finishes, so it cannot leak into the shared client

@janmarsino98 janmarsino98 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the module-scoped client fixture and ran the modified test successfully. addCleanup is registered immediately after set_timeout, so the default is restored even when the test fails later. No blocking issues found.

@antoineeripret
antoineeripret merged commit 2f2e5a7 into burnash:master Jul 16, 2026
5 checks passed
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.

3 participants