From 5e9f21277a05cfd91fcc98f67f12a59e9afd74ae Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Fri, 4 Oct 2019 12:38:46 +1000 Subject: [PATCH] Fix logging panic in BenchmarkConnectionMainReadLoop --- connection_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/connection_test.go b/connection_test.go index 661fb998..69e3c9d8 100644 --- a/connection_test.go +++ b/connection_test.go @@ -92,6 +92,7 @@ func BenchmarkConnectionMainReadLoop(b *testing.B) { DownloadRateLimiter: unlimited, }, } + cl.initLogger() ts := &torrentStorage{} t := &Torrent{ cl: cl, -- 2.44.0