Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
goSDN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danet
goSDN
Merge requests
!1217
Fix multiple rabbitmq consumers receiving all messages
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix multiple rabbitmq consumers receiving all messages
fix-for-multiple-rabbitmq-consumers
into
master
Overview
1
Commits
6
Pipelines
5
Changes
1
Merged
Fabian Seidl
requested to merge
fix-for-multiple-rabbitmq-consumers
into
master
1 month ago
Overview
1
Commits
6
Pipelines
5
Changes
1
Expand
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
My code follows the code style of this project.
My change requires a change to the documentation.
I have updated the documentation accordingly.
I have read the
CONTRIBUTING
document.
I have added tests to cover my changes.
All new and existing tests passed.
0
0
Merge request reports
Viewing commit
88b2ba2e
Prev
Next
Show latest version
1 file
+
0
−
11
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
88b2ba2e
possible fix for integration test
· 88b2ba2e
Fabian Seidl
authored
1 month ago
integration-tests/application_tests/application_test.go
+
0
−
11
Options
@@ -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
()
}
Loading