-
Notifications
You must be signed in to change notification settings - Fork 700
Add stress & compatibility tests for Node Broker Delta Protocol #20934
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds stress and compatibility testing for the Node Broker Delta Protocol by introducing a new stress test workload and a suite of compatibility tests covering mixed clusters, version restarts, and rolling upgrades.
- Added
TestDeltaProtocol
stress test class to exercise delta protocol under load - Updated
ya.make
to include the new compatibility test file - Introduced
test_node_broker_delta_protocol.py
with fixtures for mixed cluster, restart, and rolling upgrade scenarios
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
File | Description |
---|---|
ydb/tests/stress/node_broker/tests/test_workload.py | Added TestDeltaProtocol class to run stress workloads with delta protocol enabled |
ydb/tests/compatibility/ya.make | Registered test_node_broker_delta_protocol.py in TEST_SRCS |
ydb/tests/compatibility/test_node_broker_delta_protocol.py | New compatibility tests for Node Broker Delta Protocol across various upgrade paths |
Comments suppressed due to low confidence (2)
ydb/tests/stress/node_broker/tests/test_workload.py:35
- [nitpick] The class name
TestDeltaProtocol
is quite generic. Consider renaming it toTestNodeBrokerDeltaProtocolWorkload
to clearly indicate its purpose and align with other test naming.
class TestDeltaProtocol(object):
ydb/tests/compatibility/test_node_broker_delta_protocol.py:14
- Initializing
next_port
to 0 will attempt node registration on port 0, which is reserved. Consider starting from a valid port range or deriving a free port dynamically to avoid invalid registrations.
self.next_port = 0
🟢 |
⚪ Test history | Ya make output | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
⚪ Test history | Ya make output | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
d28836b
to
2af67be
Compare
⚪ Test history | Ya make output | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat
⚪ Test history | Ya make output | Test bloat | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
⚪ Test history | Ya make output | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
2b88009
to
e3d9613
Compare
⚪ Test history | Ya make output | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
⚪ Test history | Ya make output | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
f7aa768
to
e908d03
Compare
⚪ Test history | Ya make output | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
⚪ Test history | Ya make output | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
Changelog category
Description for reviewers
Этот PR добавляет стресс тесты и тесты совместимости для дельта протокола в Node Broker #11064.
TestDeltaProtocol
для проверки дельта протокола под нагрузкойtest_node_broker_delta_protocol.py
с тестами со смешанным кластером, перезапуском и rolling обновлением. Тесты не работают с версиями младше 25-1 из-за проблем с применением динамического конфига в тестовом окружении.