From a1406b4390d4835a72ad9ecfbcba6f26484d8076 Mon Sep 17 00:00:00 2001
From: sebo <sebastian.bergandy@external.mgm-cp.com>
Date: Mon, 14 Apr 2025 16:49:47 +0200
Subject: [PATCH] Revert mongo version for E2E
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

With 8 E2E tests didn't work because the order of Vorgänge is wrong.
Will be investigated later on. For now it is more important to have a
running app stack.
---
 alfa-client/apps/alfa-e2e/docker-compose.yml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/alfa-client/apps/alfa-e2e/docker-compose.yml b/alfa-client/apps/alfa-e2e/docker-compose.yml
index e87c70ff5e..0f22ef0535 100644
--- a/alfa-client/apps/alfa-e2e/docker-compose.yml
+++ b/alfa-client/apps/alfa-e2e/docker-compose.yml
@@ -24,7 +24,9 @@
 
 services:
   mongodb:
-    image: mongo:8
+    # Should be 8.0.6 but the order of Vorgänge is wrong with the new version.
+    # This will be planned and investigated in further sprint.
+    image: mongo:7
     ports:
       - 27018:27017
     environment:
@@ -164,7 +166,7 @@ services:
         soft: 65536
         hard: 65536
     healthcheck:
-      test: ['CMD-SHELL', "curl -s 'http://localhost:9200/_cat/health?h=status' | egrep -q '(green|yellow)'"]
+      test: [ 'CMD-SHELL', "curl -s 'http://localhost:9200/_cat/health?h=status' | egrep -q '(green|yellow)'" ]
       interval: 10s
       timeout: 10s
       retries: 5
@@ -205,7 +207,7 @@ services:
       - 7080:8080
       - 7081:8081
     healthcheck:
-      test: ['CMD-SHELL', 'wget --spider localhost:8081/version']
+      test: [ 'CMD-SHELL', 'wget --spider localhost:8081/version' ]
       interval: 5s
       timeout: 5s
       retries: 5
-- 
GitLab