From 1f498f9ff76392c84cd8ac5c56950b6d8d3e6d83 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Fri, 17 Mar 2023 17:56:12 +0100 Subject: [PATCH] [v9.4.x] AzureMonitor: Increase wait for credentials to be ready in E2E test (#64980) AzureMonitor: Increase wait for credentials to be ready in E2E test (#64969) Increase wait for credentials to be ready (cherry picked from commit edc47964b69c9f1d78e984fd40ee59b39714336a) Co-authored-by: Andreas Christou --- e2e/cloud-plugins-suite/azure-monitor.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/cloud-plugins-suite/azure-monitor.spec.ts b/e2e/cloud-plugins-suite/azure-monitor.spec.ts index 84fb21421ae..3de4777d8c9 100644 --- a/e2e/cloud-plugins-suite/azure-monitor.spec.ts +++ b/e2e/cloud-plugins-suite/azure-monitor.spec.ts @@ -44,7 +44,7 @@ function provisionAzureMonitorDatasources(datasources: AzureMonitorProvision[]) e2eSelectors.configEditor.loadSubscriptions.button().click().wait('@subscriptions').wait(500); e2eSelectors.configEditor.defaultSubscription.input().find('input').type('datasources{enter}'); // Wait for 15s so that credentials are ready. 5s has been tested locally before and seemed insufficient. - e2e().wait(15000); + e2e().wait(30000); }, expectedAlertMessage: 'Successfully connected to all Azure Monitor endpoints', // Reduce the timeout from 30s to error faster when an invalid alert message is presented