From 88b2ba2eda92784bb3b379a48f20b24399af7fb0 Mon Sep 17 00:00:00 2001 From: Fabian Seidl <fabian.seidl@h-da.de> Date: Tue, 18 Feb 2025 12:57:56 +0000 Subject: [PATCH] possible fix for integration test --- .../application_tests/application_test.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/integration-tests/application_tests/application_test.go b/integration-tests/application_tests/application_test.go index 9b3797a55..ee8ec34f2 100644 --- a/integration-tests/application_tests/application_test.go +++ b/integration-tests/application_tests/application_test.go @@ -94,17 +94,6 @@ func TestMain(m *testing.M) { } go application.Run(eventTypeCallbackTuples) - // This is needed to clear the go channel of the messages sent by RabbitMQ when creating - // and logging in with the admin user. - // Important note: only works once after starting the setup, because first time use creates - // a user and role and update the user because of the login. After then only logins are done, no user and role creations. - // This means that this will block after trying once, because of the three attempts to read from eventChannels. - - <-application.addEventChannel - <-application.addEventChannel - <-application.addEventChannel - <-application.updateEventChannel - m.Run() } -- GitLab