mirror of
https://github.com/grafana/grafana.git
synced 2024-12-30 10:47:30 -06:00
bd35e6917a
* Chore: Exclude integration tests from running on test-backend step * Remove -v from go test command * Add check to skip integration tests before each integration test * Try to restart pipeline * Retrying to make pipeline run
21 lines
398 B
Go
21 lines
398 B
Go
package sqlstore
|
|
|
|
import (
|
|
"context"
|
|
"testing"
|
|
|
|
"github.com/grafana/grafana/pkg/models"
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestIntegrationGetDBHealthQuery(t *testing.T) {
|
|
if testing.Short() {
|
|
t.Skip("skipping integration test")
|
|
}
|
|
store := InitTestDB(t)
|
|
|
|
query := models.GetDBHealthQuery{}
|
|
err := store.GetDBHealthQuery(context.Background(), &query)
|
|
require.NoError(t, err)
|
|
}
|