Skip to content

Commit d76eb17

Browse files
committed
Fix failing docker packaging tests due to too long commandline (elastic#125053)
* Increate COLUMN for detecting running elasticsearch instance * Unmute DockerTest test (cherry picked from commit 38f2439) # Conflicts: # muted-tests.yml
1 parent aa89197 commit d76eb17

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

muted-tests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,6 @@ tests:
372372
- class: org.elasticsearch.xpack.test.rest.XPackRestIT
373373
method: test {p0=snapshot/20_operator_privileges_disabled/Operator only settings can be set and restored by non-operator user when operator privileges is disabled}
374374
issue: https://github.com/elastic/elasticsearch/issues/120973
375-
- class: org.elasticsearch.packaging.test.DockerTests
376-
issue: https://github.com/elastic/elasticsearch/issues/120978
377375
- class: org.elasticsearch.xpack.security.authc.service.ServiceAccountIT
378376
method: testAuthenticateShouldNotFallThroughInCaseOfFailure
379377
issue: https://github.com/elastic/elasticsearch/issues/120902
@@ -482,4 +480,4 @@ tests:
482480
issue: https://github.com/elastic/elasticsearch/issues/119870
483481
- class: org.elasticsearch.xpack.inference.external.request.azureopenai.embeddings.AzureOpenAiEmbeddingsRequestTests
484482
method: testCreateRequest_WithEntraIdDefined
485-
issue: https://github.com/elastic/elasticsearch/issues/125061
483+
issue: https://github.com/elastic/elasticsearch/issues/125061

qa/packaging/src/test/java/org/elasticsearch/packaging/util/docker/Docker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public static void waitForElasticsearchToStart() {
187187
Thread.sleep(STARTUP_SLEEP_INTERVAL_MILLISECONDS);
188188

189189
// Set COLUMNS so that `ps` doesn't truncate its output
190-
psOutput = dockerShell.run("bash -c 'COLUMNS=3000 ps ax'").stdout();
190+
psOutput = dockerShell.run("bash -c 'COLUMNS=4000 ps ax'").stdout();
191191

192192
if (psOutput.contains("org.elasticsearch.bootstrap.Elasticsearch")) {
193193
isElasticsearchRunning = true;

0 commit comments

Comments
 (0)