mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
259dee2ea8
Closes https://github.com/coder/internal/issues/1173, https://github.com/coder/internal/issues/1174 Currently these two tests are flaky because the contexts were created before a potentially long-running process. By the time the context was actually used, it may have timed out - leading to confusion. Additionally, the `ExpectMatch` calls were not using the test context - but rather a background context. I've marked that func as deprecated because we should always tie these to the test context. Special thanks to @mafredri for the brain probe 🧠 --------- Signed-off-by: Danny Kopping <danny@coder.com>