]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Fix test
authorMatt Joiner <anacrolix@gmail.com>
Mon, 7 Aug 2017 12:11:25 +0000 (22:11 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 7 Aug 2017 12:11:25 +0000 (22:11 +1000)
client_test.go

index b2d5980150d465741334ff652b1036b259f2c132..b74a65a716bae1e056181c19166d044dbc7b9f02 100644 (file)
@@ -819,6 +819,7 @@ func TestAddTorrentPiecesNotAlreadyCompleted(t *testing.T) {
 
 func TestAddMetainfoWithNodes(t *testing.T) {
        cfg := TestingConfig()
+       cfg.ListenAddr = ":0"
        cfg.NoDHT = false
        // For now, we want to just jam the nodes into the table, without
        // verifying them first. Also the DHT code doesn't support mixing secure