From 13dd357dddee0251be19238afb18aa0f1aa69644 Mon Sep 17 00:00:00 2001 From: Seebs Date: Mon, 21 Jun 2021 11:16:40 -0500 Subject: [PATCH] bump heartbeatTTL to ludicrous value (60s) for testing After continuing to see weird test failures, did some more careful testing, discovered that CI can pause a machine entirely for up to 29 seconds or so very rarely, and 5-10 seconds quite frequently, which causes cascading heartbeat failures and so on. Remove those. --- test/disco.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/disco.go b/test/disco.go index ac19940d5..8ace1f96e 100644 --- a/test/disco.go +++ b/test/disco.go @@ -107,7 +107,7 @@ func GetPortsGenConfigs(tb testing.TB, nodes []*Command) error { AClientURL: clientURL, LPeerURL: peerURL, APeerURL: peerURL, - HeartbeatTTL: 12, + HeartbeatTTL: 60, LPeerSocket: []*net.TCPListener{peerListener}, LClientSocket: []*net.TCPListener{clientListener}, BootstrapTimeout: 50 * time.Millisecond,