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.
This commit is contained in:
Seebs 2021-06-21 11:16:40 -05:00
parent 5898c58a80
commit 13dd357ddd

View file

@ -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,