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

Improve broken ZooKeeperScaler tests #10046

Merged

Conversation

scholzj
Copy link
Member

@scholzj scholzj commented Apr 30, 2024

Type of change

  • Bugfix

Description

This PR improves two ZooKeeper Scaler tests that are a little bit broken. The tests do not fail, but do not test what they should anymore as the expected exceptions are not thrown as part of the tests. In one case, proper certificates need to be supplied in order to get the desired error from the client and test how it is closed. In the other, the exception needs to be properly instantiated.

Checklist

  • Write tests
  • Make sure all tests pass

Signed-off-by: Jakub Scholz <www@scholzj.com>
@scholzj scholzj added this to the 0.41.0 milestone Apr 30, 2024
@scholzj scholzj requested a review from ppatierno April 30, 2024 23:36
@scholzj scholzj merged commit 9787ca6 into strimzi:main May 1, 2024
13 checks passed
@scholzj scholzj deleted the improve-broken-zookeeper-scaler-tests branch May 1, 2024 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants