From 52af5d953ecc0eee0f1901e83756e640723e598b Mon Sep 17 00:00:00 2001 From: Evan Huus Date: Wed, 15 Apr 2015 19:10:35 +0000 Subject: [PATCH] Disable background metadata updater in a test To catch if anybody accidentally breaks client startup/shutdown in this configuration. --- client_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client_test.go b/client_test.go index d1d24af64..5080a26c2 100644 --- a/client_test.go +++ b/client_test.go @@ -387,6 +387,7 @@ func TestClientResurrectDeadSeeds(t *testing.T) { conf := NewConfig() conf.Metadata.Retry.Backoff = 0 + conf.Metadata.RefreshFrequency = 0 c, err := NewClient([]string{addr1, addr2, addr3}, conf) if err != nil { t.Fatal(err)