Replace check for integration tests. (#110707)
* Replace check for integration tests. * Revert changes in pkg/tsdb/mysql packages. * Fix formatting of few tests.
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"context"
|
||||
"testing"
|
||||
|
||||
"github.com/grafana/grafana/pkg/util/testutil"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
@@ -11,9 +12,8 @@ import (
|
||||
// admin user: getOrCreateOrg was unable to find the existing org.
|
||||
// https://github.com/grafana/grafana/issues/71781
|
||||
func TestIntegrationGetOrCreateOrg(t *testing.T) {
|
||||
if testing.Short() {
|
||||
t.Skip("Skipping integration test in short mode")
|
||||
}
|
||||
testutil.SkipIntegrationTestInShortMode(t)
|
||||
|
||||
ss, _ := InitTestDB(t)
|
||||
|
||||
err := ss.WithDbSession(context.Background(), func(sess *DBSession) error {
|
||||
|
||||
Reference in New Issue
Block a user