From e327630523ffdbcce06d1cfe3a20a3c37caf345b Mon Sep 17 00:00:00 2001 From: Sean Chittenden Date: Sat, 26 Mar 2016 22:07:09 -0700 Subject: [PATCH] Reduce the error level from Fatal when unit testing --- consul/server_manager/server_manager_internal_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consul/server_manager/server_manager_internal_test.go b/consul/server_manager/server_manager_internal_test.go index 472f398dac..a435d2d0d4 100644 --- a/consul/server_manager/server_manager_internal_test.go +++ b/consul/server_manager/server_manager_internal_test.go @@ -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) } } }