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

add channel reading in pipeline again

parent 4868257e
No related branches found
No related tags found
1 merge request!691Resolve "Implement integration tests for applications"
Pipeline #178343 failed
This commit is part of merge request !691. Comments created here will be created in the context of that merge request.
...@@ -96,11 +96,10 @@ func TestMain(m *testing.M) { ...@@ -96,11 +96,10 @@ func TestMain(m *testing.M) {
// Important note: only works once after starting the setup, because first time use creates // 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. // 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. // 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() m.Run()
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment