diff --git a/pkg/kv/kvserver/rangefeed/bench_test.go b/pkg/kv/kvserver/rangefeed/bench_test.go index 637381f271a2..e3c5cdfea4dc 100644 --- a/pkg/kv/kvserver/rangefeed/bench_test.go +++ b/pkg/kv/kvserver/rangefeed/bench_test.go @@ -83,8 +83,6 @@ func BenchmarkRangefeedBudget(b *testing.B) { // runBenchmarkRangefeed runs a rangefeed benchmark, emitting b.N events across // a rangefeed. func runBenchmarkRangefeed(b *testing.B, opts benchmarkRangefeedOpts) { - defer log.Scope(b).Close(b) - ctx, cancel := context.WithCancel(context.Background()) defer cancel() stopper := stop.NewStopper()