File tree 2 files changed +2
-1
lines changed
distribution/tools/server-cli/src/main/java/org/elasticsearch/server/cli
qa/packaging/src/test/java/org/elasticsearch/packaging/util/docker
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ private List<String> getJvmArgs() {
109
109
esHome .resolve ("lib" ).toString (),
110
110
// Special circumstances require some modules (not depended on by the main server module) to be explicitly added:
111
111
"--add-modules=jdk.net" , // needed to reflectively set extended socket options
112
+ "--add-modules=jdk.management.agent" , // needed by external debug tools to grab thread and heap dumps
112
113
// we control the module path, which may have additional modules not required by server
113
114
"--add-modules=ALL-MODULE-PATH" ,
114
115
"-m" ,
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ public static void waitForElasticsearchToStart() {
187
187
Thread .sleep (STARTUP_SLEEP_INTERVAL_MILLISECONDS );
188
188
189
189
// Set COLUMNS so that `ps` doesn't truncate its output
190
- psOutput = dockerShell .run ("bash -c 'COLUMNS=2000 ps ax'" ).stdout ();
190
+ psOutput = dockerShell .run ("bash -c 'COLUMNS=3000 ps ax'" ).stdout ();
191
191
192
192
if (psOutput .contains ("org.elasticsearch.bootstrap.Elasticsearch" )) {
193
193
isElasticsearchRunning = true ;
You can’t perform that action at this time.
0 commit comments