This is an automated email from the ASF dual-hosted git repository.
dklco pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-app-cms.git
The following commit(s) were added to refs/heads/master by this push:
new b58cb465 chore - adding more logging in ready.js to support diagnosing
build timeouts
b58cb465 is described below
commit b58cb465ef31665074e74a8d2896f3a812e6d98b
Author: Dan Klco <[email protected]>
AuthorDate: Wed Sep 27 22:46:08 2023 -0400
chore - adding more logging in ready.js to support diagnosing build timeouts
---
.sling-module.json | 3 ++-
it/cypress/ready.js | 6 ++++++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/.sling-module.json b/.sling-module.json
index 6d8240f2..b67d4ee0 100644
--- a/.sling-module.json
+++ b/.sling-module.json
@@ -2,6 +2,7 @@
"jenkins": {
"jdks": [11],
"mavenGoal": "install",
- "operatingSystems": ["windows", "linux"]
+ "operatingSystems": ["windows", "linux"],
+ "buildTimeout": 120
}
}
diff --git a/it/cypress/ready.js b/it/cypress/ready.js
index dfc55a85..c72fecf4 100644
--- a/it/cypress/ready.js
+++ b/it/cypress/ready.js
@@ -62,6 +62,12 @@ async function main() {
console.log(`Sling started on: ${url}`);
await sleep(2000);
return;
+ } else {
+ console.info("Sling not ready", {
+ systemReadyOk,
+ homeStatusOk,
+ loginContentOk,
+ });
}
} catch (e) {
console.warn("Caught error checking status", e);