-
Notifications
You must be signed in to change notification settings - Fork 18
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
Complex object chunk deletion protection lock tests are skipped #535
Comments
This commit removes the @pytest.mark.skip and issue_* decorators that were temporarily skipping tests related to specific issues. The problems associated with these tests have been resolved in the neofs-node project, allowing them to be executed along with other tests. List of removed issues: nspcc-dev/neofs-node#2262 nspcc-dev#519 nspcc-dev#520 nspcc-dev#521 nspcc-dev#523 nspcc-dev#524 nspcc-dev#533 nspcc-dev#539 https://j.yadro.com/browse/OBJECT-628 But according to the results of test runs added issues, here is their list: nspcc-dev#535 nspcc-dev#537 nspcc-dev#542 nspcc-dev#544 nspcc-dev#558 nspcc-dev#559 Signed-off-by: Oleg Kulachenko <oleg@nspcc.ru>
Please fix the test according to nspcc-dev/neofs-api#253 (see nspcc-dev/neofs-node#2383 (comment)). |
Both of these tests suffer from a different problem. There are two assumptions that are checked in these tests:
Both of these are currently not true - if we lock a complex object its corresponding chunks are not locked, the same with a link. But we can separately lock each chunk of a complex object, or a link. In this case - they are really locked. But there is no inherit lock from a complex object. So the question is - are these assumptions correct? If so - these are product bugs. If no - I will correct tests accordingly. |
I'd say both are correct. We broadcast lock objects at the moment (each container node has them), so they can be associated with chunks if they're to have split ID inside. Do they have it, @cthulhu-rider? |
The
test_complex_object_chunks_should_also_be_protected_from_deletion
and thetest_link_object_of_complex_object_should_also_be_protected_from_deletion
tests failed with an error at the "Try to delete link object":Allure report:
test_object_run.zip
The text was updated successfully, but these errors were encountered: