From 05f22e5c7dd8eb9053373ea3e772e432a62c78e5 Mon Sep 17 00:00:00 2001 From: Domas Date: Thu, 28 Oct 2021 14:55:43 +0300 Subject: [PATCH] remove explicit timeouts on receiver tests (#41032) --- public/app/features/alerting/unified/Receivers.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/features/alerting/unified/Receivers.test.tsx b/public/app/features/alerting/unified/Receivers.test.tsx index 008d78b1b3a..f128b137486 100644 --- a/public/app/features/alerting/unified/Receivers.test.tsx +++ b/public/app/features/alerting/unified/Receivers.test.tsx @@ -361,7 +361,7 @@ describe('Receivers', () => { ], }, }); - }, 10000); + }); it('Prometheus Alertmanager receiver cannot be edited', async () => { mocks.api.fetchStatus.mockResolvedValue({ @@ -397,7 +397,7 @@ describe('Receivers', () => { expect(mocks.api.fetchConfig).not.toHaveBeenCalled(); expect(mocks.api.fetchStatus).toHaveBeenCalledTimes(1); - }, 10000); + }); it('Loads config from status endpoint if there is no user config', async () => { // loading an empty config with make it fetch config from status endpoint