Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: Miki <[email protected]>
  • Loading branch information
AMoo-Miki committed Jan 12, 2025
1 parent b1f0f96 commit dc8c797
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cypress/scripts/dynamic_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit dc8c797

Please sign in to comment.