Fix failing docker packaging tests due to too long commandline (#125053) (#125286)

* Increate COLUMN for detecting running elasticsearch instance
* Unmute DockerTest test

(cherry picked from commit 38f243944e)

# Conflicts:
#	muted-tests.yml
#	qa/packaging/src/test/java/org/elasticsearch/packaging/util/docker/Docker.java
This commit is contained in:
Rene Groeschke 2025-03-21 09:50:02 +01:00 committed by GitHub
parent c63c7f5f8c
commit f5a43068ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -187,7 +187,7 @@ public class Docker {
Thread.sleep(STARTUP_SLEEP_INTERVAL_MILLISECONDS);
// Set COLUMNS so that `ps` doesn't truncate its output
psOutput = dockerShell.run("bash -c 'COLUMNS=2000 ps ax'").stdout();
psOutput = dockerShell.run("bash -c 'COLUMNS=4000 ps ax'").stdout();
if (psOutput.contains("org.elasticsearch.bootstrap.Elasticsearch")) {
isElasticsearchRunning = true;