Live: support query execution with live RPC (#43118)

Co-authored-by: Alexander Emelin <frvzmb@gmail.com>
This commit is contained in:
Ryan McKinley
2021-12-14 18:38:20 +01:00
committed by GitHub
co-authored by Alexander Emelin
parent f4cc353225
commit c0ff685d3b
7 changed files with 359 additions and 247 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ type testState struct {
func newTestLive(t *testing.T) *live.GrafanaLive {
cfg := &setting.Cfg{AppURL: "http://localhost:3000/"}
gLive, err := live.ProvideService(nil, cfg, routing.NewRouteRegister(), nil, nil, nil, nil, sqlstore.InitTestDB(t), nil, &usagestats.UsageStatsMock{T: t})
gLive, err := live.ProvideService(nil, cfg, routing.NewRouteRegister(), nil, nil, nil, nil, sqlstore.InitTestDB(t), nil, &usagestats.UsageStatsMock{T: t}, nil)
require.NoError(t, err)
return gLive
}