refactor(unified-storage): move generated protos to own pkg (#105356)
This commit is contained in:
@@ -48,7 +48,7 @@ import (
|
||||
"github.com/grafana/grafana/pkg/services/team/teamimpl"
|
||||
"github.com/grafana/grafana/pkg/services/user"
|
||||
"github.com/grafana/grafana/pkg/services/user/userimpl"
|
||||
"github.com/grafana/grafana/pkg/storage/unified/resource"
|
||||
"github.com/grafana/grafana/pkg/storage/unified/resourcepb"
|
||||
"github.com/grafana/grafana/pkg/tests/testinfra"
|
||||
)
|
||||
|
||||
@@ -121,9 +121,9 @@ func NewK8sTestHelper(t *testing.T, opts testinfra.GrafanaOpts) *K8sTestHelper {
|
||||
|
||||
// ensure unified storage is alive and running
|
||||
ctx := identity.WithRequester(context.Background(), c.Org1.Admin.Identity)
|
||||
rsp, err := c.env.ResourceClient.IsHealthy(ctx, &resource.HealthCheckRequest{})
|
||||
rsp, err := c.env.ResourceClient.IsHealthy(ctx, &resourcepb.HealthCheckRequest{})
|
||||
require.NoError(t, err, "unable to read resource client health check")
|
||||
require.Equal(t, resource.HealthCheckResponse_SERVING, rsp.Status)
|
||||
require.Equal(t, resourcepb.HealthCheckResponse_SERVING, rsp.Status)
|
||||
|
||||
return c
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user