Add more time between events

This commit is contained in:
Jose Garcia 2021-10-07 16:48:09 -04:00
parent 1ff58a3de7
commit 1aefc74378

View file

@ -349,7 +349,7 @@ func TestSessionHeartbeat(t *testing.T) {
go session.heartbeat(ctx, 50*time.Millisecond)
go func() {
session.keepAlive("input")
<-time.Tick(100 * time.Millisecond)
<-time.Tick(200 * time.Millisecond)
session.keepAlive("input")
<-time.Tick(100 * time.Millisecond)
done <- struct{}{}