Skip to content

Commit e04440b

Browse files
author
David Roberts
committed
[TEST] Reduce forecast overflow to disk test memory limit (#30727)
By default ML native processes are only allowed to use 30% of RAM, so the previous 2GB setting prevented the test passing on VMs with only 4GB RAM. This change reduces the limit to 1200MB, which means it can now pass on VMs with 4GB RAM.
1 parent 6d29952 commit e04440b

File tree

1 file changed

+1
-1
lines changed
  • x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration

1 file changed

+1
-1
lines changed

x-pack/qa/ml-native-tests/src/test/java/org/elasticsearch/xpack/ml/integration/ForecastIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public void testOverflowToDisk() throws Exception {
217217
DataDescription.Builder dataDescription = new DataDescription.Builder();
218218
dataDescription.setTimeFormat("epoch");
219219
Job.Builder job = new Job.Builder("forecast-it-test-overflow-to-disk");
220-
AnalysisLimits limits = new AnalysisLimits(2048L, null);
220+
AnalysisLimits limits = new AnalysisLimits(1200L, null);
221221
job.setAnalysisLimits(limits);
222222
job.setAnalysisConfig(analysisConfig);
223223
job.setDataDescription(dataDescription);

0 commit comments

Comments
 (0)