mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00: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