From dc8c7971d57b1963d1192ba57c9b18122c0ec124 Mon Sep 17 00:00:00 2001 From: Miki Date: Sat, 11 Jan 2025 22:52:18 -0800 Subject: [PATCH] debug Signed-off-by: Miki --- cypress/scripts/dynamic_config.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cypress/scripts/dynamic_config.ts b/cypress/scripts/dynamic_config.ts index 57ac445e3ef..3ed749aced5 100644 --- a/cypress/scripts/dynamic_config.ts +++ b/cypress/scripts/dynamic_config.ts @@ -62,6 +62,9 @@ const checkPlugins = async (config: Cypress.PluginConfigOptions) => { if (config.env.SECURITY_ENABLED) { headers.Authorization = 'Basic ' + Buffer.from(config.env.username + ':' + config.env.password).toString('base64'); + console.log('Checking capabilities enabled on OpenSearch Dashboards with security...'); + } else { + console.log('Checking capabilities enabled on OpenSearch Dashboards...'); } do { @@ -93,7 +96,7 @@ const checkPlugins = async (config: Cypress.PluginConfigOptions) => { return; } - console.log('Waiting for OpenSearch Dashboards to be ready...'); + console.log(`[${resp.status}] Waiting for OpenSearch Dashboards to respond...`); await setTimeout(CONNECTION_RETRY_INTERVAL); } while (Date.now() - startTime < CONNECTION_TIMEOUT_TOTAL);