[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.
This commit is contained in:
David Roberts 2018-05-18 19:01:43 +01:00 committed by GitHub
parent b3f3a4312b
commit 2b72adc8ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ public class ForecastIT extends MlNativeAutodetectIntegTestCase {
DataDescription.Builder dataDescription = new DataDescription.Builder();
dataDescription.setTimeFormat("epoch");
Job.Builder job = new Job.Builder("forecast-it-test-overflow-to-disk");
AnalysisLimits limits = new AnalysisLimits(2048L, null);
AnalysisLimits limits = new AnalysisLimits(1200L, null);
job.setAnalysisLimits(limits);
job.setAnalysisConfig(analysisConfig);
job.setDataDescription(dataDescription);