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"
|
||||
)
|
||||
|
||||
@@ -61,9 +62,8 @@ func TestBatching(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestIntegrationBulkOps(t *testing.T) {
|
||||
if testing.Short() {
|
||||
t.Skip("skipping integration test")
|
||||
}
|
||||
testutil.SkipIntegrationTestInShortMode(t)
|
||||
|
||||
db, _ := InitTestDB(t)
|
||||
err := db.engine.Sync(new(bulkTestItem))
|
||||
require.NoError(t, err)
|
||||
|
||||
Reference in New Issue
Block a user