spanner: Disable running alerting integration tests when using spanner. (#102730)

* Disable running alerting integration tests when using spanner.

* Disable tests for templategroup.
This commit is contained in:
Peter Štibraný
2025-03-26 10:57:55 +01:00
committed by GitHub
parent c54da8f955
commit 5b5f433a26
10 changed files with 25 additions and 6 deletions
+2
View File
@@ -5,6 +5,7 @@ import (
"os"
"xorm.io/core"
"xorm.io/xorm"
"github.com/grafana/grafana/pkg/services/sqlstore"
@@ -53,6 +54,7 @@ type InitTestDBOpt = sqlstore.InitTestDBOpt
var SetupTestDB = sqlstore.SetupTestDB
var CleanupTestDB = sqlstore.CleanupTestDB
var ProvideService = sqlstore.ProvideService
var SkipTestsOnSpanner = sqlstore.SkipTestsOnSpanner
func InitTestDB(t sqlutil.ITestDB, opts ...InitTestDBOpt) *sqlstore.SQLStore {
db, _ := InitTestDBWithCfg(t, opts...)