mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 06:52:13 +08:00
Introduce TSDB service (#31520)
* Introduce TSDB service Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> Co-authored-by: Erik Sundell <erik.sundell87@gmail.com> Co-authored-by: Will Browne <will.browne@grafana.com> Co-authored-by: Torkel Ödegaard <torkel@grafana.org> Co-authored-by: Will Browne <wbrowne@users.noreply.github.com> Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
This commit is contained in:
@ -6,10 +6,11 @@ import (
|
||||
|
||||
"github.com/grafana/grafana/pkg/infra/log"
|
||||
"github.com/grafana/grafana/pkg/plugins"
|
||||
"github.com/grafana/grafana/pkg/plugins/manager"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
var (
|
||||
const (
|
||||
incorrectSettings = "./testdata/test-configs/incorrect-settings"
|
||||
brokenYaml = "./testdata/test-configs/broken-yaml"
|
||||
emptyFolder = "./testdata/test-configs/empty_folder"
|
||||
@ -46,7 +47,7 @@ func TestConfigReader(t *testing.T) {
|
||||
})
|
||||
|
||||
t.Run("Can read correct properties", func(t *testing.T) {
|
||||
plugins.Apps = map[string]*plugins.AppPlugin{
|
||||
manager.Apps = map[string]*plugins.AppPlugin{
|
||||
"test-plugin": {},
|
||||
"test-plugin-2": {},
|
||||
}
|
||||
|
Reference in New Issue
Block a user