Storage: Revert using real gRPC for integration tests (#96410)

---------

Co-authored-by: Todd Treece <todd.treece@grafana.com>
This commit is contained in:
Ryan McKinley
2024-11-16 00:50:49 +03:00
committed by GitHub
parent 66d5c051aa
commit 29cdfdff87
3 changed files with 13 additions and 1 deletions
@@ -181,6 +181,7 @@ func TestIntegrationDashboardsApp(t *testing.T) {
})
t.Run("with dual writer mode 4", func(t *testing.T) {
t.Skip("skipping test because of authorizer issue")
helper := apis.NewK8sTestHelper(t, testinfra.GrafanaOpts{
DisableAnonymous: true,
EnableFeatureToggles: []string{
+3 -1
View File
@@ -66,7 +66,9 @@ func NewK8sTestHelper(t *testing.T, opts testinfra.GrafanaOpts) *K8sTestHelper {
// Use GRPC server when not configured
if opts.APIServerStorageType == "" && opts.GRPCServerAddress == "" {
opts.APIServerStorageType = options.StorageTypeUnifiedGrpc
// TODO, this really should be gRPC, but sometimes fails in drone
// the two *should* be identical, but we have seen issues when using real gRPC vs channel
opts.APIServerStorageType = options.StorageTypeUnified // TODO, should be GRPC
}
// Always enable `FlagAppPlatformGrpcClientAuth` for k8s integration tests, as this is the desired behavior.