Repository navigation
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified in the expanded YDB CLI functional test coverage.
No open issues 🎉
What changed in this PR
This PR expands YDB CLI functional test coverage for table operations, schema inspection, and permission management without changing production code.
Changes:
- Strengthens copy and rename tests with index reads, snapshot isolation checks, rollout, and rollback scenarios.
- Adds bounded read pagination, row counting, partition descriptions, and recursive directory inventory checks.
- Exercises permission commands and verifies explicit and inherited permissions before and after backup and restore.
| File | Description |
|---|---|
ydb/tests/functional/ydb_cli/test_ydb_tools.py |
Tests mixed-index copies and rename rollout/rollback, validating data and indexes. |
ydb/tests/functional/ydb_cli/test_ydb_table.py |
Adds bounded pagination and range-count assertions. |
ydb/tests/functional/ydb_cli/test_ydb_scheme.py |
Checks indexed table schema, retention settings, statistics, and partition boundaries. |
ydb/tests/functional/ydb_cli/test_ydb_recursive_remove.py |
Validates recursive JSON inventory and metadata before removal. |
ydb/tests/functional/ydb_cli/test_ydb_backup.py |
Adds permission-command coverage and permission checks across backup and restore. |
Review effort: Balanced
|
⚪ ⚪
🟢 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! 🚀 New features to boost your workflow:
|
Changelog entry
Description for reviewers
Extend CLI end-to-end coverage around table maintenance and schema inspection:
--count-only.Reuse and consolidate existing scenarios to keep the total number of test cases unchanged. No product implementation changes.