diff --git a/http/client.go b/http/client.go index 1dd2da51a..e343c65c9 100644 --- a/http/client.go +++ b/http/client.go @@ -66,7 +66,6 @@ type InternalClientOption func(c *InternalClient) // retry failed requests using exponential backoff. func WithClientRetryPeriod(waitMax time.Duration) InternalClientOption { return func(c *InternalClient) { - fmt.Println("client w/ retry policy", waitMax) rc := retryablehttp.NewClient() rc.HTTPClient = c.httpClient rc.RetryWaitMax = waitMax diff --git a/internal/clustertests/cluster_test.go b/internal/clustertests/cluster_test.go index af89abc2a..d3009dbda 100644 --- a/internal/clustertests/cluster_test.go +++ b/internal/clustertests/cluster_test.go @@ -153,7 +153,7 @@ func TestClusterStuff(t *testing.T) { t.Fatalf("sending stop command: %v", err) } if backupCmd, err = startCmd( - "featurebase", "backup", "--host=pilosa1:10101", fmt.Sprintf("--output=%s", tmpdir+"/backuptest2"), "--retry-period=0.5s"); err != nil { + "featurebase", "backup", "--host=pilosa1:10101", fmt.Sprintf("--output=%s", tmpdir+"/backuptest2"), "--retry-period=50ms"); err != nil { t.Fatalf("sending second backup command: %v", err) } time.Sleep(time.Millisecond * 5) // want the backup to get started, then fail