mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
@@ -104,8 +104,7 @@ func TestHeartbeat(t *testing.T) {
|
||||
select {
|
||||
case <-hbCtx.Done():
|
||||
return hbCtx.Err()
|
||||
default:
|
||||
heartbeatChan <- struct{}{}
|
||||
case heartbeatChan <- struct{}{}:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user