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

Update ToxiProxy and Pulsar images and adjust timeout intervals #219

Closed
wants to merge 1 commit into from

Conversation

entvex
Copy link
Contributor

@entvex entvex commented May 27, 2024

Description

Two tests were failing using version 3.2.X of the Apache Pulsar Broker. Introducing longer timeout intervals in the tests, TokenSupplier_WhenTokenSupplierThrowsAnExceptionOnAuthChallenge_ShouldFaultProducer and TokenSupplier_WhenTokenSupplierReturnValidToken_ShouldStayConnected. Changing them from 10 seconds to 40 minutes for makes the tests work, nothing else changed.

Updates the used images of ToxiProxy and Pulsar in tests from versions 2.7.0 and 3.1.3 to 2.9.0 and 3.2.3 respectively to keep up with the latest versions.

Finally, I added a missing cancellation token in ConnectionPool.

Testing

All tests are green again

@entvex entvex added the bug Something isn't working label May 27, 2024
@entvex entvex self-assigned this May 27, 2024
The commit updates the used images of ToxiProxy and Pulsar in tests from versions 2.7.0 and 3.1.3 to 2.9.0 and 3.2.3 respectively to keep up with the latest versions. Also, it introduces longer timeout intervals in the PulsarClientTests, changing them from 10 seconds to 2 hours for more reliable results. Finally, it improves task cancellation functionality in ConnectionPool for more robust error handling.
@entvex entvex force-pushed the fix-pulsar-client-failing-tests branch from 5df09af to 15eb3fe Compare May 27, 2024 10:42
@entvex
Copy link
Contributor Author

entvex commented May 30, 2024

I'll make another PR with a better description detailing the real problem.

@entvex entvex closed this May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant