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

test: introduce new tests for balanced query routing #1230

Draft
wants to merge 1 commit into
base: branch-hackathon
Choose a base branch
from

Conversation

juliayakovlev
Copy link

@juliayakovlev juliayakovlev commented Feb 12, 2025

NOTE: this is start version, added tests are not completed yet.

The new tests that DefaultPolicy was as expected for LWT and regular queries for tablets and vnodes. The different configurations will be tested here.
For current stage were added 3 tests for next configurations:

  • tablets ON; token_awere policy; node preferences None; permit falover ON
  • tablets ON; token_awere policy; node preferences None; permit falover OFF
  • tablets ON; token_awere policy; node preferences DC; permit falover ON

More tests will be added later

Pre-review checklist

  • I have split my patch into logically separate commits.
  • All commit messages clearly explain what they change and why.
  • I added relevant tests for new features and bug fixes.
  • All commits compile, pass static checks and pass test.
  • PR description sums up the changes and reasons why they should be introduced.
  • I have provided docstrings for the public items that I want to introduce.
  • I have adjusted the documentation in ./docs/source/.
  • I added appropriate Fixes: annotations to PR description.

Copy link

github-actions bot commented Feb 12, 2025

cargo semver-checks found no API-breaking changes in this PR! 🎉🥳
Checked commit: d49ae4b

@juliayakovlev
Copy link
Author

Added ccm_tests support

@juliayakovlev juliayakovlev force-pushed the load_balancing_tests branch 3 times, most recently from 22c7d48 to 234e995 Compare February 16, 2025 07:26
The new tests that DefaultPolicy was as expected for LWT and regular queries for tablets and vnodes.
The different configurations will be tested here.
For current stage were added 3 tests for next configurations:
- tablets ON; token_awere policy; node preferences None; permit falover ON
- tablets ON; token_awere policy; node preferences None; permit falover OFF
- tablets ON; token_awere policy; node preferences DC; permit falover ON

More tests will be added later
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.

1 participant