fix: delete provisioned dashboard in unified if forceDeleteRules is set (#113839)
This commit is contained in:
@@ -106,7 +106,13 @@ func NewK8sTestHelper(t *testing.T, opts testinfra.GrafanaOpts) *K8sTestHelper {
|
||||
// Always enable `FlagAppPlatformGrpcClientAuth` for k8s integration tests, as this is the desired behavior.
|
||||
// The flag only exists to support the transition from the old to the new behavior in dev/ops/prod.
|
||||
opts.EnableFeatureToggles = append(opts.EnableFeatureToggles, featuremgmt.FlagAppPlatformGrpcClientAuth)
|
||||
dir, path := testinfra.CreateGrafDir(t, opts)
|
||||
var (
|
||||
dir = opts.Dir
|
||||
path = opts.DirPath
|
||||
)
|
||||
if opts.Dir == "" && opts.DirPath == "" {
|
||||
dir, path = testinfra.CreateGrafDir(t, opts)
|
||||
}
|
||||
listenerAddress, env := testinfra.StartGrafanaEnv(t, dir, path)
|
||||
|
||||
c := &K8sTestHelper{
|
||||
|
||||
Reference in New Issue
Block a user