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
@@ -17,6 +17,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/grafana/grafana/pkg/services/featuremgmt"
apimodels "github.com/grafana/grafana/pkg/services/ngalert/api/tooling/definitions"
"github.com/grafana/grafana/pkg/services/org"
"github.com/grafana/grafana/pkg/services/org/orgimpl"
@@ -398,6 +399,7 @@ func TestIntegrationAlertmanagerConfigurationPersistSecrets(t *testing.T) {
EnableUnifiedAlerting: true,
DisableAnonymous: true,
AppModeProduction: true,
DisableFeatureToggles: []string{featuremgmt.FlagAlertingApiServer},
})
grafanaListedAddr, env := testinfra.StartGrafanaEnv(t, dir, path)