From 0f88b117dca6ddc00f01c5d95a02e08c24bf6130 Mon Sep 17 00:00:00 2001 From: Alexander Weaver Date: Tue, 30 May 2023 09:48:02 -0500 Subject: [PATCH] Alerting: Skip flaky test TestRouteGetRuleStatuses (#69258) Skip TestRouteGetRuleStatuses --- pkg/services/ngalert/api/api_prometheus_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/services/ngalert/api/api_prometheus_test.go b/pkg/services/ngalert/api/api_prometheus_test.go index a2067dbb888..672da5e78e5 100644 --- a/pkg/services/ngalert/api/api_prometheus_test.go +++ b/pkg/services/ngalert/api/api_prometheus_test.go @@ -282,6 +282,8 @@ func withLabels(labels data.Labels) forEachState { } func TestRouteGetRuleStatuses(t *testing.T) { + t.Skip() // TODO: Flaky test: https://github.com/grafana/grafana/issues/69146 + timeNow = func() time.Time { return time.Date(2022, 3, 10, 14, 0, 0, 0, time.UTC) } orgID := int64(1) queryPermissions := map[int64]map[string][]string{1: {datasources.ActionQuery: {datasources.ScopeAll}}}