Skip to content

Commit

Permalink
fixing benchmark
Browse files Browse the repository at this point in the history
Signed-off-by: Pedro Tanaka <[email protected]>
  • Loading branch information
pedro-stanaka committed Dec 6, 2024
1 parent 364e4bd commit f493eb7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/receive/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ package receive
import (
"bytes"
"context"
goerrors "errors"
"fmt"
"io"
"math"
Expand All @@ -24,8 +25,6 @@ import (

"gopkg.in/yaml.v3"

goerrors "errors"

"github.com/alecthomas/units"
"github.com/efficientgo/core/testutil"
"github.com/go-kit/log"
Expand Down Expand Up @@ -1102,7 +1101,6 @@ func benchmarkHandlerMultiTSDBReceiveRemoteWrite(b testutil.TB) {
nil,
false,
metadata.NoneFunc,
nil,
)
defer func() { testutil.Ok(b, m.Close()) }()
handler.writer = NewWriter(logger, m, &WriterOptions{})
Expand Down

0 comments on commit f493eb7

Please sign in to comment.