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
Commits
88b2ba2e
Commit
88b2ba2e
authored
3 months ago
by
Fabian Seidl
Browse files
Options
Downloads
Patches
Plain Diff
possible fix for integration test
parent
ffe16f8c
No related branches found
No related tags found
1 merge request
!1217
Fix multiple rabbitmq consumers receiving all messages
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
integration-tests/application_tests/application_test.go
+0
-11
0 additions, 11 deletions
integration-tests/application_tests/application_test.go
with
0 additions
and
11 deletions
integration-tests/application_tests/application_test.go
+
0
−
11
View file @
88b2ba2e
...
@@ -94,17 +94,6 @@ func TestMain(m *testing.M) {
...
@@ -94,17 +94,6 @@ func TestMain(m *testing.M) {
}
}
go
application
.
Run
(
eventTypeCallbackTuples
)
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
()
m
.
Run
()
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment