mirror of https://github.com/status-im/consul.git
Reduce the error level from Fatal when unit testing
This commit is contained in:
parent
92c2e8e668
commit
e327630523
|
@ -187,7 +187,7 @@ func TestServerManagerInternal_refreshServerRebalanceTimer(t *testing.T) {
|
|||
|
||||
d := sm.refreshServerRebalanceTimer(timer)
|
||||
if d < s.minRebalance {
|
||||
t.Fatalf("duration too short for cluster of size %d and %d servers (%s < %s)", s.numNodes, s.numServers, d, s.minRebalance)
|
||||
t.Errorf("duration too short for cluster of size %d and %d servers (%s < %s)", s.numNodes, s.numServers, d, s.minRebalance)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue