Skip to content

Commit

Permalink
test(metricsharding): use ythttp
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Oct 5, 2023
1 parent 61ea04f commit 7b0e963
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/metricsharding/bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/stretchr/testify/require"
"go.ytsaurus.tech/yt/go/yt"
"go.ytsaurus.tech/yt/go/yt/ytrpc"
"go.ytsaurus.tech/yt/go/yt/ythttp"

"github.com/go-faster/oteldb/internal/metricstorage"
"github.com/go-faster/oteldb/internal/otelstorage"
Expand All @@ -26,7 +26,8 @@ func TestIntegrationWorkload(t *testing.T) {
totalBatches = totalTestPoints / uniqueRate
)
ctx := context.Background()
yc, err := ytrpc.NewClient(&yt.Config{
yc, err := ythttp.NewClient(&yt.Config{
Proxy: "localhost:8000",
RPCProxy: "localhost:8002",
Token: "admin",
DisableProxyDiscovery: true,
Expand Down

0 comments on commit 7b0e963

Please sign in to comment.