-
Notifications
You must be signed in to change notification settings - Fork 674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NOISSUE - Update pubsub tests for rabbitmq #1656
Conversation
Signed-off-by: aryan <aryangodara03@gmail.com>
Signed-off-by: aryan <aryangodara03@gmail.com>
Signed-off-by: aryan <aryangodara03@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #1656 +/- ##
==========================================
- Coverage 70.29% 70.28% -0.02%
==========================================
Files 148 148
Lines 11508 11509 +1
==========================================
- Hits 8090 8089 -1
- Misses 2754 2755 +1
- Partials 664 665 +1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Signed-off-by: aryan <aryangodara03@gmail.com>
84473e7
to
840898c
Compare
Signed-off-by: aryan <aryangodara03@gmail.com>
Signed-off-by: aryan <aryangodara03@gmail.com>
8eff0ad
to
61e22c2
Compare
Signed-off-by: aryan <aryangodara03@gmail.com>
Signed-off-by: aryan <aryangodara03@gmail.com>
Signed-off-by: aryan <aryangodara03@gmail.com>
Signed-off-by: aryan <aryangodara03@gmail.com>
Signed-off-by: aryan <aryangodara03@gmail.com>
Signed-off-by: aryan <aryangodara03@gmail.com>
Signed-off-by: aryan <aryangodara03@gmail.com>
28ef82e
to
ca3b704
Compare
Signed-off-by: aryan <aryangodara03@gmail.com>
ca3b704
to
d2bda83
Compare
… update-pubsub-tests
Signed-off-by: aryan <aryangodara03@gmail.com>
Signed-off-by: aryan <aryangodara03@gmail.com>
Signed-off-by: aryan <aryangodara03@gmail.com>
8e59b17
to
b9f4fa3
Compare
… update-pubsub-tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For NATS PubSub, we should probably also test cases with queue
value other than "" because Subscriber in that case acts differently (L53 of setup_test.go
).
Signed-off-by: aryan <aryangodara03@gmail.com>
88a1ebf
to
8ad6a36
Compare
Signed-off-by: aryan <aryangodara03@gmail.com>
Signed-off-by: aryan <aryangodara03@gmail.com>
Signed-off-by: aryan <aryangodara03@gmail.com>
… update-pubsub-tests
Signed-off-by: aryan <aryangodara03@gmail.com>
31a20d0
to
c3a3f48
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* testPubSub failing on channel Signed-off-by: aryan <aryangodara03@gmail.com> * testPubSub failing, rest passing Signed-off-by: aryan <aryangodara03@gmail.com> * all tests passing Signed-off-by: aryan <aryangodara03@gmail.com> * removed unnecessary lines Signed-off-by: aryan <aryangodara03@gmail.com> * rename subunsub to unsubscribe Signed-off-by: aryan <aryangodara03@gmail.com> * nats tests working, rabbitmq left Signed-off-by: aryan <aryangodara03@gmail.com> * fix TestPublisher Signed-off-by: aryan <aryangodara03@gmail.com> * changed clientID of pubsub Signed-off-by: aryan <aryangodara03@gmail.com> * testSubscribe failing, rest all passing Signed-off-by: aryan <aryangodara03@gmail.com> * testPubsub failing Signed-off-by: aryan <aryangodara03@gmail.com> * TestSubscribe(s) failing, rest tests passing. Signed-off-by: aryan <aryangodara03@gmail.com> * For Rabbitmq, all tests are passing. Signed-off-by: aryan <aryangodara03@gmail.com> * For Nats, All tests passing, but unreliable Signed-off-by: aryan <aryangodara03@gmail.com> * Fix typos and improve variable names. Signed-off-by: aryan <aryangodara03@gmail.com> * nats tests passing, rabbitmq half tests passing. Signed-off-by: aryan <aryangodara03@gmail.com> * all tests working. Signed-off-by: aryan <aryangodara03@gmail.com> * removed commented out, dead code. Signed-off-by: aryan <aryangodara03@gmail.com> * fix errors, queuesubscribe tests for nats. Signed-off-by: aryan <aryangodara03@gmail.com> * updated broker.Connect to opts.Connect for nats. Signed-off-by: aryan <aryangodara03@gmail.com> * experimental soluton Signed-off-by: aryan <aryangodara03@gmail.com> * Revert nats back to original status. Signed-off-by: aryan <aryangodara03@gmail.com> * Remove unnecessary commit Signed-off-by: aryan <aryangodara03@gmail.com> Signed-off-by: aryan <aryangodara03@gmail.com> Signed-off-by: rodneyosodo <blackd0t@protonmail.com>
Signed-off-by: aryan aryangodara03@gmail.com
What does this do?
Adds tests for the nats implementation of pkg/messaging. nats part is left out for now.
Which issue(s) does this PR fix/relate to?
N/A
List any changes that modify/break current functionality
Nil
Have you included tests for your changes?
Yes
Did you document any new/modified functionality?
N/A
Notes
N/A