dont spawn new subprocess while shutting down

This commit is contained in:
bergquist
2017-12-25 13:48:50 +01:00
parent 05362a9666
commit 75a54e85dc
7 changed files with 20 additions and 14 deletions

View File

@ -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)