Skip to content
Snippets Groups Projects
Commit b72080b6 authored by Fabian Seidl's avatar Fabian Seidl
Browse files

remove blocking part form ci tests

parent d707e4e7
No related branches found
No related tags found
1 merge request!691Resolve "Implement integration tests for applications"
Pipeline #178311 failed
This commit is part of merge request !691. Comments created here will be created in the context of that merge request.
......@@ -96,9 +96,7 @@ 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
} else {
if os.Getenv("RABBITMQ") == "" {
_ = <-application.eventChannel
_ = <-application.eventChannel
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment