From: Matt Joiner Date: Mon, 14 Jul 2025 05:37:10 +0000 (+1000) Subject: Fix test that sets zero download rate limiter X-Git-Tag: v1.59.0~23 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=379d8e64a820767a346c827bf298d9c502b8eba6;p=btrtrc.git Fix test that sets zero download rate limiter --- diff --git a/issue211_test.go b/issue211_test.go index d8c541da..410e4d3a 100644 --- a/issue211_test.go +++ b/issue211_test.go @@ -21,6 +21,7 @@ func TestDropTorrentWithMmapStorageWhileHashing(t *testing.T) { // over the network as the test runs. cfg.DownloadRateLimiter = rate.NewLimiter(0, 0) cfg.DialForPeerConns = false + cfg.AcceptPeerConnections = false cl, err := NewClient(cfg) require.NoError(t, err) defer cl.Close()