Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

test: dial socket when testing coder ssh unix socket forwarding#19563

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ethanndickson merged 2 commits intomainfromethan/netstat-ssh-unix-forwarding-test
Aug 27, 2025

Conversation

ethanndickson
Copy link
Member

@ethanndicksonethanndickson commentedAug 27, 2025
edited
Loading

Closescoder/internal#942

The flakey test,RemoteForwardUnixSocket, was usingnetstat to check if the unix socket was forwarded properly. In the flake, it looks like netstat was hanging. This PR hasRemoteForwardUnixSocket be rewritten to match the implementation ofRemoteForwardMultipleUnixSockets, where we send bytes over the socket in-process instead. More importantly, that test hasn't flaked (yet).

Note: The implementation has been copied directly from the other test, comments and all.

@ethanndicksonGraphite App
Copy link
MemberAuthor

This stack of pull requests is managed byGraphite. Learn more aboutstacking.

@ethanndicksonethanndickson changed the titletest: remove dependency on netstat when testing coder ssh unix socket forwardingtest: dial socket when testing coder ssh unix socket forwardingAug 27, 2025
@ethanndicksonethanndickson marked this pull request as ready for reviewAugust 27, 2025 03:59
Copy link
Member

@mafredrimafredri left a comment

Choose a reason for hiding this comment

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

Unless I'm missing something, this looks like an improvement of the test, thanks!:shipit:

@ethanndicksonethanndickson merged commitfcef2ec intomainAug 27, 2025
27 checks passed
@ethanndicksonGraphite App
Copy link
MemberAuthor

Merge activity

@ethanndicksonethanndickson deleted the ethan/netstat-ssh-unix-forwarding-test branchAugust 27, 2025 11:30
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsAug 27, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@mafredrimafredrimafredri approved these changes

Assignees

@ethanndicksonethanndickson

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

flake: TestSSH/RemoteForwardUnixSocket
2 participants
@ethanndickson@mafredri

[8]ページ先頭

©2009-2025 Movatter.jp