From 2a57c47d39e0c8e252dbd0bdbab05840e5cce419 Mon Sep 17 00:00:00 2001 From: Fabian Seidl <fabian.seidl@h-da.de> Date: Thu, 20 Jun 2024 12:22:51 +0200 Subject: [PATCH] fix integration test, read one more event before actual tests --- integration-tests/application_tests/application_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/integration-tests/application_tests/application_test.go b/integration-tests/application_tests/application_test.go index 926f4d68c..d5b69ae22 100644 --- a/integration-tests/application_tests/application_test.go +++ b/integration-tests/application_tests/application_test.go @@ -100,6 +100,7 @@ func TestMain(m *testing.M) { // 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 -- GitLab