mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
fix: Wait for TestServer/Telemetry to close before exit (#2554)
This was causing occasional test failures due to leakage!
This commit is contained in:
@ -267,6 +267,8 @@ func TestServer(t *testing.T) {
|
||||
|
||||
<-deployment
|
||||
<-snapshot
|
||||
cancelFunc()
|
||||
<-errC
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user