From b1f8135b397610f4dc637c9366eefc45d27a8001 Mon Sep 17 00:00:00 2001
From: Fabian Seidl <fabian.seidl@h-da.de>
Date: Thu, 11 Jan 2024 14:20:17 +0100
Subject: [PATCH] add channel reading in pipeline again

---
 integration-tests/application_tests/application_test.go | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/integration-tests/application_tests/application_test.go b/integration-tests/application_tests/application_test.go
index 2b8636090..6431a79d4 100644
--- a/integration-tests/application_tests/application_test.go
+++ b/integration-tests/application_tests/application_test.go
@@ -96,11 +96,10 @@ func TestMain(m *testing.M) {
 	// Important note: only works once after starting the setup, because first time use creates
 	// a user and updates it because of the login. After then only logins are done, no user creations.
 	// This means that this will block after trying once, because the two attempts to read from eventChannel.
-	if os.Getenv("RABBITMQ") == "" {
-		_ = <-application.eventChannel
-		_ = <-application.eventChannel
-		_ = <-application.eventChannel
-	}
+
+	_ = <-application.eventChannel
+	_ = <-application.eventChannel
+	_ = <-application.eventChannel
 
 	m.Run()
 }
-- 
GitLab