-
Notifications
You must be signed in to change notification settings - Fork 161
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
Some tests are incompatible with Rabbit 3.6 Java client #154
Comments
Just one point of clarification; 1.6 does not require 3.6, it just pulls it in by default; it's actually backwards-compatible to 3.4. Not pertinent to this discussion of course but I also noticed that the connector is still using an ancient client (2.8.1) by default. |
Thanks, Gary. I was a little sloppy. A more accurate statement would have been that Spring AMQP 1.6's tests require 3.6. |
GH-154 Fix Rabbit Tests with 3.6 Client
Thanks @wilkinsona and @garyrussell. Gary's PR looks good, and has been merged.
Connectors generally relies on the oldest versions of Spring and connection dependencies that are API-compatible with the things it needs to do. This helps ensure that Connectors is compatible with as many client apps as possible. Connectors has only |
Spring IO Platform 2.1 contains Spring AMQP 1.6 which requires version 3.6 of Rabbit's Java client. When Spring Cloud Connector's tests are run against the 3.6 client, two tests fail:
You can reproduce the two failures by running the following build:
Unfortunately, this can't be fixed by just changing the Rabbit client dependency and updating the tests accordingly in 1.2.x. As things stand Spring Cloud Connectors 1.2.x is part of Spring IO Platform 2.0 (which uses Rabbit Client 3.4.x) and not-yet-released Spring IO Platform 2.1 which uses 3.6.x. This means that 1.2.x's tests need to pass when run against both versions of the client.
A few ideas:
The text was updated successfully, but these errors were encountered: