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

Skip to content

fix: fix TestTailnet/Connect to wait for listener before dialing #14148

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 1 commit into from
Aug 5, 2024

Conversation

spikecurtis
Copy link
Contributor

@spikecurtis spikecurtis commented Aug 5, 2024

fixes #14066

When you haven't registered an in-process listener, tailnet attempts to dial the OS via the local loopback on the port. There was a race in the test where the listener hadn't been set up before we dial because they happened in different goroutines.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @spikecurtis and the rest of your teammates on Graphite Graphite

@spikecurtis spikecurtis marked this pull request as ready for review August 5, 2024 11:36
@spikecurtis spikecurtis merged commit dda9c56 into main Aug 5, 2024
31 checks passed
Copy link
Contributor Author

Merge activity

@spikecurtis spikecurtis deleted the spike/test-tailnet-connect-race branch August 5, 2024 11:45
@github-actions github-actions bot locked and limited conversation to collaborators Aug 5, 2024
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.

flake: TestTailnet/Connect
2 participants