mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
@ -104,8 +104,7 @@ func TestHeartbeat(t *testing.T) {
|
|||||||
select {
|
select {
|
||||||
case <-hbCtx.Done():
|
case <-hbCtx.Done():
|
||||||
return hbCtx.Err()
|
return hbCtx.Err()
|
||||||
default:
|
case heartbeatChan <- struct{}{}:
|
||||||
heartbeatChan <- struct{}{}
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user