mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-07 11:27:50 +00:00
artificially increase heartbeat TTL for tests only
CI systems sometimes hiccup for five seconds, which causes heartbeat leases to fail and breaks all sorts of things. As a workaround, update heartbeat TTL for tests only. This might in turn cause different failures to do with leader elections, but in theory those should be handled now?
This commit is contained in:
parent
0638101d2a
commit
7497d5fbe2
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ func GetPortsGenConfigs(tb testing.TB, nodes []*Command) error {
|
|||
AClientURL: clientURL,
|
||||
LPeerURL: peerURL,
|
||||
APeerURL: peerURL,
|
||||
HeartbeatTTL: 5,
|
||||
HeartbeatTTL: 12,
|
||||
LPeerSocket: []*net.TCPListener{peerListener},
|
||||
LClientSocket: []*net.TCPListener{clientListener},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue