summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/java/com/yahoo/vespa/model/container/ContainerClusterTest.java
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2023-05-23 22:16:30 +0200
committerGitHub <noreply@github.com>2023-05-23 22:16:30 +0200
commit482e915731f2d3a78acfff7b2ce4a11ec612ff58 (patch)
tree39b8a90a580b786656798e3a66e420d96e324257 /config-model/src/test/java/com/yahoo/vespa/model/container/ContainerClusterTest.java
parentd009d437e26f1fafa741ae373c2fd666f4026bba (diff)
parente6f9700c89bfb8a43e97f2a4af3f1d56ba9a8894 (diff)
Merge pull request #27194 from vespa-engine/bratseth/container-memoryOverheadv8.167.17
Model fixed memory overhead for containers
Diffstat (limited to 'config-model/src/test/java/com/yahoo/vespa/model/container/ContainerClusterTest.java')
-rw-r--r--config-model/src/test/java/com/yahoo/vespa/model/container/ContainerClusterTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/config-model/src/test/java/com/yahoo/vespa/model/container/ContainerClusterTest.java b/config-model/src/test/java/com/yahoo/vespa/model/container/ContainerClusterTest.java
index 5973ef56962..2562e1e3124 100644
--- a/config-model/src/test/java/com/yahoo/vespa/model/container/ContainerClusterTest.java
+++ b/config-model/src/test/java/com/yahoo/vespa/model/container/ContainerClusterTest.java
@@ -129,10 +129,10 @@ public class ContainerClusterTest {
int heapSizeInFlag = 89;
boolean hosted = true;
boolean combined = true; // a cluster running on content nodes (only relevant with hosted)
- verifyHeapSizeAsPercentageOfPhysicalMemory(createRoot(hosted), !combined, null, ApplicationContainerCluster.defaultHeapSizePercentageOfTotalNodeMemory);
+ verifyHeapSizeAsPercentageOfPhysicalMemory(createRoot(hosted), !combined, null, ApplicationContainerCluster.defaultHeapSizePercentageOfAvailableMemory);
verifyHeapSizeAsPercentageOfPhysicalMemory(createRoot(hosted, heapSizeInFlag), !combined, null, heapSizeInFlag);
- verifyHeapSizeAsPercentageOfPhysicalMemory(createRoot(hosted), combined, null, 18);
- verifyHeapSizeAsPercentageOfPhysicalMemory(createRoot(hosted, heapSizeInFlag), combined, null, 18);
+ verifyHeapSizeAsPercentageOfPhysicalMemory(createRoot(hosted), combined, null, 24);
+ verifyHeapSizeAsPercentageOfPhysicalMemory(createRoot(hosted, heapSizeInFlag), combined, null, 24);
verifyHeapSizeAsPercentageOfPhysicalMemory(createRoot(!hosted), !combined, null, 0);
verifyHeapSizeAsPercentageOfPhysicalMemory(createRoot(!hosted, heapSizeInFlag), !combined, null, 0);