unified-storage: split resource index client (#106297)

* split resource server and index server grpc connection if defined in config
This commit is contained in:
Will Assis authored and GitHub committed 2025-06-27 08:15:52 -04:00
1 parent 0982cfd9a0
commit f4ee58db50
5 files changed
+229 -46

No files matched your search

@@ -165,7 +165,7 @@ func TestClientServer(t *testing.T) {
t.Run("Create a client", func(t *testing.T) {
conn, err := unified.GrpcConn(svc.GetAddress(), prometheus.NewPedanticRegistry())
require.NoError(t, err)
client, err = resource.NewRemoteResourceClient(tracing.NewNoopTracerService(), conn, resource.RemoteResourceClientConfig{
client, err = resource.NewRemoteResourceClient(tracing.NewNoopTracerService(), conn, conn, resource.RemoteResourceClientConfig{
Token: "some-token",
TokenExchangeURL: "http://some-change-url",
AllowInsecure: true,