-
Notifications
You must be signed in to change notification settings - Fork 716
How to write compat tests #18499
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
How to write compat tests #18499
Conversation
⚪ 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 |
ydb/tests/compatibility/README.md
Outdated
@@ -2,13 +2,20 @@ | |||
|
|||
Одна из мажорных проблем в новых стабильных ветках состоит в том, что в рамках апгрейда YDB со старой версии возникают несовмстимости между новой и старой версией. Данные тесты призваны протестировать этот сценарий. Механика тестов следующая: тесты скачивают YDB последней стабильной версии. |
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.
Давай поменяем на "Тесты совместимости позволяют обнаруживать ошибки, которые возникают при апгрейде и даунгрейде YDB Server. ".
Механику тестов я бы вынесла отдельным абзацом. А то непонятно, к чему тут одно как-будто незаконченное предложение.
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.
И тут опечатка в слове несовместимость. Прогони через ai текст на предмет орфографических ошибок, пожалуйста.
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.
"Прогони через ai текст на предмет орфографических ошибок, пожалуйста." -- вот я если често, думал копайлот с гитхаба мне все напишет, но он проигнорировал похоже этот файл:(
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.
"YDB Server" -- я если честно, предпочитаю просто YDB, server как будто лишняя приписка, предлагаю не надо
ydb/tests/compatibility/README.md
Outdated
Для упрощения написания тестов было сделано несколько тестовых фикстур, которые предоставляют типовые сценарии тестирования. Все фикстуры поднимают кластер `MIRROR_3_DC` и предоставляют его для тестирования. | ||
## Как написать тест | ||
|
||
1. Выбрать подходящую фикстуру |
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.
и ссылка на блок с фикстурами.
⚪ 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 |
Added "how to write test"