From 7729ce0f2ccb67d955ffd61be701ba69ecab2912 Mon Sep 17 00:00:00 2001 From: Koen Metsu Date: Mon, 16 Oct 2023 17:38:20 +0200 Subject: [PATCH] chore: or-1956 set mem limit to prevent GH actions from breaking down --- .github/workflows/pre-merge-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pre-merge-tests.yml b/.github/workflows/pre-merge-tests.yml index 55a424bb4..899b22829 100644 --- a/.github/workflows/pre-merge-tests.yml +++ b/.github/workflows/pre-merge-tests.yml @@ -125,7 +125,7 @@ jobs: shell: bash if: matrix.projects == 'test/AssociationRegistry.Test.Public.Api' || matrix.projects == 'test/AssociationRegistry.Test.Admin.Api' run: | - docker run -d --name elasticsearch -p 9200:9200 -e ELASTIC_PASSWORD=local_development -e discovery.type=single-node -e xpack.security.transport.ssl.enabled=false docker.elastic.co/elasticsearch/elasticsearch:8.4.3 + docker run -d --name elasticsearch -p 9200:9200 -m 2g -e ELASTIC_PASSWORD=local_development -e discovery.type=single-node -e xpack.security.transport.ssl.enabled=false docker.elastic.co/elasticsearch/elasticsearch:8.4.3 - name: Run wiremock container shell: bash