mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Retry flaky notification preview test (#97936)
Retry flaky notification preview test
This commit is contained in:
parent
6d21eddf13
commit
4c42fda2ec
@ -121,6 +121,8 @@ describe.each([
|
|||||||
false,
|
false,
|
||||||
])('NotificationPreview with alertingApiServer=%p', (apiServerEnabled) => {
|
])('NotificationPreview with alertingApiServer=%p', (apiServerEnabled) => {
|
||||||
apiServerEnabled ? testWithFeatureToggles(['alertingApiServer']) : testWithFeatureToggles([]);
|
apiServerEnabled ? testWithFeatureToggles(['alertingApiServer']) : testWithFeatureToggles([]);
|
||||||
|
jest.retryTimes(2);
|
||||||
|
|
||||||
it('should render notification preview without alert manager label, when having only one alert manager configured to receive alerts', async () => {
|
it('should render notification preview without alert manager label, when having only one alert manager configured to receive alerts', async () => {
|
||||||
mockOneAlertManager();
|
mockOneAlertManager();
|
||||||
mockPreviewApiResponse(server, [{ labels: [{ tomato: 'red', avocate: 'green' }] }]);
|
mockPreviewApiResponse(server, [{ labels: [{ tomato: 'red', avocate: 'green' }] }]);
|
||||||
|
Loading…
Reference in New Issue
Block a user