Skip to content

Conversation

@spikecurtis
Copy link
Contributor

@spikecurtis spikecurtis commented Nov 10, 2025

Fixes coder/internal#66

The problem is a race during test tear down where the node callback can fire after the destination tailnet.Conn has already closed, causing an error.

The fix I have employed is to remove the callback in a t.Cleanup() and also refactor some tests to ensure they close the tailnet.Conn in a Cleanup deeper in the stack.

Copy link
Contributor Author

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

@spikecurtis spikecurtis marked this pull request as ready for review November 10, 2025 09:14
@spikecurtis spikecurtis changed the title tests: fix PingDirect test tear down test: fix PingDirect test tear down Nov 10, 2025
Copy link
Contributor Author

spikecurtis commented Nov 11, 2025

Merge activity

  • Nov 11, 6:34 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Nov 11, 6:34 AM UTC: @spikecurtis merged this pull request with Graphite.

@spikecurtis spikecurtis merged commit e96ab0e into main Nov 11, 2025
34 checks passed
@spikecurtis spikecurtis deleted the spike/internal-66-pingdirect branch November 11, 2025 06:34
@github-actions github-actions bot locked and limited conversation to collaborators Nov 11, 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.

flake: TestTailnet/PingDirect

3 participants