Skip to content

Commit dc8c797

Browse files
author
Miki
committed
debug
Signed-off-by: Miki <[email protected]>
1 parent b1f0f96 commit dc8c797

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cypress/scripts/dynamic_config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ const checkPlugins = async (config: Cypress.PluginConfigOptions) => {
6262
if (config.env.SECURITY_ENABLED) {
6363
headers.Authorization =
6464
'Basic ' + Buffer.from(config.env.username + ':' + config.env.password).toString('base64');
65+
console.log('Checking capabilities enabled on OpenSearch Dashboards with security...');
66+
} else {
67+
console.log('Checking capabilities enabled on OpenSearch Dashboards...');
6568
}
6669

6770
do {
@@ -93,7 +96,7 @@ const checkPlugins = async (config: Cypress.PluginConfigOptions) => {
9396
return;
9497
}
9598

96-
console.log('Waiting for OpenSearch Dashboards to be ready...');
99+
console.log(`[${resp.status}] Waiting for OpenSearch Dashboards to respond...`);
97100
await setTimeout(CONNECTION_RETRY_INTERVAL);
98101
} while (Date.now() - startTime < CONNECTION_TIMEOUT_TOTAL);
99102

0 commit comments

Comments
 (0)