mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Build: Fix with cleanup call maybe? (#33590)
This commit is contained in:
parent
efe856ae4e
commit
759a0cd71b
@ -6,6 +6,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/grafana/grafana/pkg/registry"
|
||||
"github.com/grafana/grafana/pkg/services/ngalert/models"
|
||||
"github.com/grafana/grafana/pkg/services/ngalert/store"
|
||||
|
||||
@ -25,6 +26,7 @@ func mockTimeNow() {
|
||||
|
||||
func TestAlertInstanceOperations(t *testing.T) {
|
||||
dbstore := setupTestEnv(t, baseIntervalSeconds)
|
||||
t.Cleanup(registry.ClearOverrides)
|
||||
|
||||
alertRule1 := createTestAlertRule(t, dbstore, 60)
|
||||
orgID := alertRule1.OrgID
|
||||
|
Loading…
Reference in New Issue
Block a user