Skip to content

Commit

Permalink
Disable background metadata updater in a test
Browse files Browse the repository at this point in the history
To catch if anybody accidentally breaks client startup/shutdown in this
configuration.
  • Loading branch information
eapache committed Apr 15, 2015
1 parent dd6ba39 commit 52af5d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 52af5d9

Please sign in to comment.