From 513dd27f572ee92fafc8799c1713736ce8ad7993 Mon Sep 17 00:00:00 2001 From: Mark Vieira Date: Tue, 23 Apr 2024 16:29:31 -0700 Subject: [PATCH] Increase container size for machine dependent heap docker tests (#107797) --- .../java/org/elasticsearch/packaging/test/DockerTests.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/qa/packaging/src/test/java/org/elasticsearch/packaging/test/DockerTests.java b/qa/packaging/src/test/java/org/elasticsearch/packaging/test/DockerTests.java index ece49fbb15e5d..b1240747b1a67 100644 --- a/qa/packaging/src/test/java/org/elasticsearch/packaging/test/DockerTests.java +++ b/qa/packaging/src/test/java/org/elasticsearch/packaging/test/DockerTests.java @@ -1011,12 +1011,11 @@ public void test140CgroupOsStatsAreAvailable() throws Exception { * Check that when available system memory is constrained by Docker, the machine-dependant heap sizing * logic sets the correct heap size, based on the container limits. */ - @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/104786") public void test150MachineDependentHeap() throws Exception { - final List xArgs = machineDependentHeapTest("942m", List.of()); + final List xArgs = machineDependentHeapTest("1536m", List.of()); - // This is roughly 0.4 * 942 - assertThat(xArgs, hasItems("-Xms376m", "-Xmx376m")); + // This is roughly 0.5 * 1536 + assertThat(xArgs, hasItems("-Xms768m", "-Xmx768m")); } /**