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

read from channel only when not in ci, again

parent 6bb83ce0
No related branches found
No related tags found
1 merge request!691Resolve "Implement integration tests for applications"
Pipeline #178357 failed
......@@ -97,9 +97,11 @@ func TestMain(m *testing.M) {
// 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.
_ = <-application.addEventChannel
_ = <-application.addEventChannel
_ = <-application.updateEventChannel
if os.Getenv("RABBITMQ") == "" {
_ = <-application.addEventChannel
_ = <-application.addEventChannel
_ = <-application.updateEventChannel
}
m.Run()
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment