Increase heartbeat rate to reduce test flakes

This commit is contained in:
Chris S. Kim 2022-08-22 14:24:05 -04:00
parent 06ba9775ee
commit 03e92826aa
1 changed files with 1 additions and 1 deletions

View File

@ -1133,7 +1133,7 @@ func TestStreamResources_Server_DisconnectsOnHeartbeatTimeout(t *testing.T) {
srv, store := newTestServer(t, func(c *Config) {
c.Tracker.SetClock(it.Now)
c.incomingHeartbeatTimeout = 5 * time.Millisecond
c.incomingHeartbeatTimeout = 50 * time.Millisecond // may need to be tuned higher to reduce flakes
})
p := writePeeringToBeDialed(t, store, 1, "my-peer")