diff --git a/connection_test.go b/connection_test.go index 6334c52b..f741ac25 100644 --- a/connection_test.go +++ b/connection_test.go @@ -133,7 +133,7 @@ func BenchmarkConnectionMainReadLoop(b *testing.B) { } w.Close() require.NoError(b, <-mrlErr) - require.EqualValues(b, b.N, cn.stats.ChunksReadUseful) + require.EqualValues(b, b.N, cn.stats.ChunksReadUseful.Int64()) } func TestConnectionReceiveBadChunkIndex(t *testing.T) {