diff --git a/integration-tests/application_tests/application_test.go b/integration-tests/application_tests/application_test.go index 2b8636090f02c05547e336673a489e559b771f5f..6431a79d493a4bde4568e0c0f17276191d921538 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() }