mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
e96ab0ef59
Fixes https://github.com/coder/internal/issues/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.