From 2960d6889c15d1735da730b1a2529778299fc212 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sat, 30 May 2026 03:08:57 +0200 Subject: [PATCH] ci: stabilize Elasticsearch tests (#37906) At a 512m heap the CI Elasticsearch GC-thrashes under the jobs' memory pressure and goes unresponsive, flaking `test-unit` (ES indexer tests time out) and `test-mysql` (the ES-backed issue indexer blocks the per-test queue flush). Raise the heap to 1g and disable ML + the startup GeoIP download. Co-authored-by: Claude (Opus 4.8) --- .github/workflows/pull-db-tests.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull-db-tests.yml b/.github/workflows/pull-db-tests.yml index 8407df870f..641a3cacb8 100644 --- a/.github/workflows/pull-db-tests.yml +++ b/.github/workflows/pull-db-tests.yml @@ -119,7 +119,9 @@ jobs: env: discovery.type: single-node xpack.security.enabled: false - ES_JAVA_OPTS: "-Xms512m -Xmx512m" # reduce from ES default of 50% + xpack.ml.enabled: false + ingest.geoip.downloader.enabled: false + ES_JAVA_OPTS: "-Xms1g -Xmx1g" ports: - "9200:9200" meilisearch: @@ -193,7 +195,9 @@ jobs: env: discovery.type: single-node xpack.security.enabled: false - ES_JAVA_OPTS: "-Xms512m -Xmx512m" # reduce from ES default of 50% + xpack.ml.enabled: false + ingest.geoip.downloader.enabled: false + ES_JAVA_OPTS: "-Xms1g -Xmx1g" ports: - "9200:9200" smtpimap: