From: Matt Joiner Date: Sat, 21 Feb 2015 04:25:34 +0000 (+1100) Subject: Hopefully maybe fix bind error on Codeship test runner X-Git-Tag: v1.0.0~1325 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=bad7df778a2e13e79ff4f20b2f15b709d9652da2;p=btrtrc.git Hopefully maybe fix bind error on Codeship test runner --- diff --git a/client_test.go b/client_test.go index f7668238..71f419c7 100644 --- a/client_test.go +++ b/client_test.go @@ -26,7 +26,9 @@ func TestClientDefault(t *testing.T) { } func TestAddDropTorrent(t *testing.T) { - cl, err := NewClient(nil) + cl, err := NewClient(&Config{ + ListenAddr: "localhost:0", + }) if err != nil { t.Fatal(err) }