Thanks to visit codestin.com
Credit goes to github.com

Skip to content

test(agent): fix channel timeout in TestNewServer_CloseActiveConnections #17690

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 6, 2025

Conversation

mafredri
Copy link
Member

@mafredri mafredri commented May 6, 2025

This fixes a test issue where we were waiting on a channel indefinitely and the test timed out instead of failing due to earlier error.

Updates coder/internal#558

@mafredri mafredri self-assigned this May 6, 2025
@mafredri mafredri requested review from hugodutka and mtojek May 6, 2025 10:55
@mafredri mafredri changed the title test(agent/agentssh): fix channel timeout in TestNewServer_CloseActiveConnections test(agent): fix channel timeout in TestNewServer_CloseActiveConnections May 6, 2025
Copy link
Contributor

@hugodutka hugodutka left a comment

Choose a reason for hiding this comment

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

thanks @mafredri!

Copy link
Member

@mtojek mtojek left a comment

Choose a reason for hiding this comment

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

Nice catch, stamp

@mafredri mafredri changed the title test(agent): fix channel timeout in TestNewServer_CloseActiveConnections test(agent/agentssh): fix channel timeout in TestNewServer_CloseActiveConnections May 6, 2025
@mafredri mafredri changed the title test(agent/agentssh): fix channel timeout in TestNewServer_CloseActiveConnections test(agent): fix channel timeout in TestNewServer_CloseActiveConnections May 6, 2025
@mafredri mafredri enabled auto-merge (squash) May 6, 2025 11:16
@mafredri mafredri merged commit ebad5c3 into main May 6, 2025
38 checks passed
@mafredri mafredri deleted the mafredri/test-fix-timeout-issue-in-agentssh-test branch May 6, 2025 11:20
@github-actions github-actions bot locked and limited conversation to collaborators May 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants