Alerting: Enable flag alertingApiServer by default (#98282)

* enable flag alertingApiServer by default
* remove feature flag toggle in integration tests
* disable flag for old API tests
This commit is contained in:
Yuri Tseretyan
2025-01-08 14:31:35 -05:00
committed by GitHub
parent 34c597b3b3
commit 3e68731600
11 changed files with 31 additions and 31 deletions
@@ -22,6 +22,7 @@ import (
"github.com/grafana/grafana/pkg/expr"
"github.com/grafana/grafana/pkg/infra/db"
"github.com/grafana/grafana/pkg/infra/tracing"
"github.com/grafana/grafana/pkg/services/featuremgmt"
apimodels "github.com/grafana/grafana/pkg/services/ngalert/api/tooling/definitions"
ngmodels "github.com/grafana/grafana/pkg/services/ngalert/models"
ngstore "github.com/grafana/grafana/pkg/services/ngalert/store"
@@ -49,6 +50,9 @@ func TestIntegrationAMConfigAccess(t *testing.T) {
EnableUnifiedAlerting: true,
DisableAnonymous: true,
AppModeProduction: true,
DisableFeatureToggles: []string{
featuremgmt.FlagAlertingApiServer,
},
})
grafanaListedAddr, env := testinfra.StartGrafanaEnv(t, dir, path)