Skip to content

Commit 9e23b7e

Browse files
authored
Add startup logging for standalone tests
We need to investigate why startup is taking so long in CI for standalone tests. This commit adds logging for bootstrap and network code that is executed before the node starts initializing in case this is the source of the trouble. Relates elastic#28659
1 parent fea1b20 commit 9e23b7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

buildSrc/src/main/groovy/org/elasticsearch/gradle/test/NodeInfo.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ class NodeInfo {
163163
}
164164

165165
env = ['JAVA_HOME': project.runtimeJavaHome]
166+
args.addAll("-E", "logger.org.elasticsearch.bootstrap=debug", "-E", "logger.org.elasticsearch.common.network=debug")
166167
args.addAll("-E", "node.portsfile=true")
167168
String collectedSystemProperties = config.systemProperties.collect { key, value -> "-D${key}=${value}" }.join(" ")
168169
String esJavaOpts = config.jvmArgs.isEmpty() ? collectedSystemProperties : collectedSystemProperties + " " + config.jvmArgs

0 commit comments

Comments
 (0)