Chore: fix apiserver integration tests (#83724)

Co-authored-by: Todd Treece <todd.treece@grafana.com>
This commit is contained in:
Ryan McKinley
2024-02-29 14:58:49 -08:00
committed by GitHub
parent d7b031f318
commit 74115f1f08
8 changed files with 85 additions and 22 deletions
+7 -2
View File
@@ -12,9 +12,14 @@ import (
"github.com/grafana/grafana/pkg/services/featuremgmt"
"github.com/grafana/grafana/pkg/tests/apis"
"github.com/grafana/grafana/pkg/tests/testinfra"
"github.com/grafana/grafana/pkg/tests/testsuite"
)
func TestTestDatasource(t *testing.T) {
func TestMain(m *testing.M) {
testsuite.Run(m)
}
func TestIntegrationTestDatasource(t *testing.T) {
if testing.Short() {
t.Skip("skipping integration test")
}
@@ -70,7 +75,7 @@ func TestTestDatasource(t *testing.T) {
{
"responseKind": {
"group": "",
"kind": "Status",
"kind": "QueryDataResponse",
"version": ""
},
"subresource": "query",