mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
Fixes ENG-2930 Fixes coder/internal#1597 Refactors TestWSWatcher to reduce flake occurrences. The flaky tests were using polling-based assertions which may flake based on goroutine scheduling. Fixed by using fake connections and channel synchronization where appropriate. Note: No coverage of ProbeCanceled, pre-existing. > Generated by a human, spot-checked by several robots.