File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
internal/elasticsearch/ml/job_state/testdata/TestAccResourceMLJobState_timeouts/timeouts Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -63,14 +63,16 @@ jobs:
6363 xpack.security.enabled : true
6464 xpack.security.authc.api_key.enabled : true
6565 xpack.security.authc.token.enabled : true
66+ xpack.ml.use_auto_machine_memory_percent : true
67+ xpack.ml.max_model_memory_limit : 2g
6668 xpack.watcher.enabled : true
6769 xpack.license.self_generated.type : trial
6870 repositories.url.allowed_urls : https://example.com/*
6971 path.repo : /tmp
7072 ELASTIC_PASSWORD : ${{ env.ELASTIC_PASSWORD }}
7173 ports :
7274 - 9200:9200
73- options : --health-cmd="curl http://localhost:9200/_cluster/health" --health-interval=10s --health-timeout=5s --health-retries=10
75+ options : --memory=2g -- health-cmd="curl http://localhost:9200/_cluster/health" --health-interval=10s --health-timeout=5s --health-retries=10
7476 kibana :
7577 image : docker.elastic.co/kibana/kibana:${{ matrix.version }}
7678 env :
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ services:
1313 xpack.security.http.ssl.enabled : false
1414 xpack.license.self_generated.type : trial
1515 xpack.ml.use_auto_machine_memory_percent : true
16+ xpack.ml.max_model_memory_limit : 2g
1617 xpack.security.authc.api_key.enabled : true
1718 xpack.security.authc.token.enabled : true
1819 xpack.watcher.enabled : true
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ resource "elasticstack_elasticsearch_ml_anomaly_detection_job" "test" {
4242 time_format = " epoch_ms"
4343 }
4444 analysis_limits = {
45- model_memory_limit = " 784mb " # Large memory requirement close to cluster limit
45+ model_memory_limit = " 2g " # Large memory requirement close to cluster limit
4646 }
4747 allow_lazy_open = true # This should cause datafeed to wait for available node
4848}
You can’t perform that action at this time.
0 commit comments