mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 05:12:36 +08:00
dont spawn new subprocess while shutting down
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
package plugins
|
||||
|
||||
import (
|
||||
"context"
|
||||
"testing"
|
||||
|
||||
"github.com/grafana/grafana/pkg/bus"
|
||||
@ -17,7 +18,7 @@ func TestPluginDashboards(t *testing.T) {
|
||||
setting.Cfg = ini.Empty()
|
||||
sec, _ := setting.Cfg.NewSection("plugin.test-app")
|
||||
sec.NewKey("path", "../../tests/test-app")
|
||||
err := Init()
|
||||
err := Init(context.TODO())
|
||||
|
||||
So(err, ShouldBeNil)
|
||||
|
||||
|
Reference in New Issue
Block a user