From 7b0e96359cfeb9f6501a95fa66d9254d93386316 Mon Sep 17 00:00:00 2001 From: Aleksandr Razumov Date: Thu, 5 Oct 2023 19:13:05 +0300 Subject: [PATCH] test(metricsharding): use ythttp --- internal/metricsharding/bench_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/metricsharding/bench_test.go b/internal/metricsharding/bench_test.go index ecd0b688..454b7e28 100644 --- a/internal/metricsharding/bench_test.go +++ b/internal/metricsharding/bench_test.go @@ -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" @@ -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,