Skip to content
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

Fix rabbitmq container deprecations and test code cleanup. #619

Merged
merged 11 commits into from
Apr 16, 2024

Conversation

wetted
Copy link
Contributor

@wetted wetted commented Apr 15, 2024

Changes to support using RabbitMQ Docker containers newer than 3.8

closes #594

@wetted wetted self-assigned this Apr 15, 2024
@wetted wetted requested a review from timyates April 15, 2024 20:09
Copy link
Contributor

@timyates timyates left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Fixed the tests

It seems that since Rabbit 3.9.x the waitForConfirms comes back immediately with false if the message can't be confirmed. Previously I think it threw a TimeoutException

  • and removed the deprecation from TemporarilyDownConsumersSpec

Used portBindings on a RabbitMq container and updated the image verson

  • Use the same Rabbit version

We were using multiple rabbit versions, I moved the all to use the version in AbstractRabbitMQTest

@timyates timyates marked this pull request as ready for review April 16, 2024 10:44
Copy link

sonarcloud bot commented Apr 16, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@wetted wetted merged commit 3e06a61 into 4.5.x Apr 16, 2024
11 checks passed
@wetted wetted deleted the fix-container-deprecations branch April 16, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Improve/fix ConsumerRecoverySpec to support newer RabbitMQ containers
2 participants