Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7be96bb commit 7cc0738Copy full SHA for 7cc0738
enterprise/tailnet/pgcoord_test.go
@@ -410,7 +410,7 @@ func TestPGCoordinatorSingle_SendsHeartbeats(t *testing.T) {
410
}
411
require.Greater(t, heartbeats[0].Sub(start), time.Duration(0))
412
require.Greater(t, heartbeats[1].Sub(start), time.Duration(0))
413
- return assert.Greater(t, heartbeats[1].Sub(heartbeats[0]), tailnet.HeartbeatPeriod*9/10)
+ return assert.Greater(t, heartbeats[1].Sub(heartbeats[0]), tailnet.HeartbeatPeriod*3/4)
414
}, testutil.WaitMedium, testutil.IntervalMedium)
415
416
0 commit comments