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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve AMQP Integration Tests #117
Improve AMQP Integration Tests #117
Conversation
Thanks Nathan, I'm checking.... |
- Remove old amqp tests - Enhance purge function to allow clearing queues without deleting - Fix type error in AMQP Transporter - Run the same test suite for built-in and AMQP balancing - PreferLocal = false for rpc suite.
2a1886f
to
327bcf3
Compare
Just made a quick change so purge.js makes new channels instead of new connections. |
@Nathan-Schwartz so, the rpc test is good, and I need to fix AMQP transporter to test will be passed? |
@icebob Yes, I think so. I would expect these to fail, currently: But sometimes the load balancing one fails, because |
The last 2 test cases don't work with built-in balancer, only with disabled balancer |
@icebob Can you clarify? Are you saying that you don't want them to work with built-in balancer, or that it doesn't currently? |
It can't work, because Moleculer balancer put the request to the (i.e.) |
And also availability balancing is working only disabled balancer. |
@icebob Ahh, okay. I didn't realize that. Thanks! I will update the PR. |
No, I fixed it :) |
So, your first AMQP implementation was a disabled balancer solution, just I added the built-in balancer solution too. |
@icebob That looks really good! I think maybe you switched |
Yes, fixed :) |
The collaboration on this is amazing. Thanks @Nathan-Schwartz and @icebob ! |
Ohh, the |
@Nathan-Schwartz Do you know how we can use RabbitMQ on Travis CI? |
@icebob Ohh interesting. Nice find with I haven't set up RabbitMQ with Travis before, but it looks it shouldn't be too hard to configure: |
Great! I'm trying... |
馃帀 |
Wow, It passed! 馃帀 :) |
Thanks Icebob! |
Thanks Nathan, good job! |
Now I have to go, I'm at midnight :) |
I released a new version with this fix. |
Changes
@icebob let me know if you any questions or concerns 馃憤