Storage group (for complex object) test cannot live without children in the link's payload (split V2) #271

Closed
opened 2025-12-28 18:15:35 +00:00 by sami · 1 comment
Owner

Originally created by @carpawell on GitHub (Mar 21, 2024).

Originally assigned to: @carpawell on GitHub.

Current Behavior

Storage group is tested in the way (for the complex object):

  1. Put SG
  2. Get SG
  3. Get link object of the split chain
  4. Compare SG's members and the children from the link object's header

Expected Behavior

Children are now in the payload, not the header.

Possible Solution

Collect the children's list starting from the last one (ignore link object)? Learn how to parse link objects in python? Provide some functionality to the neofs-cli about parsing link objects?

Steps to Reproduce

Just run tests.acl.test_storagegroup.TestStorageGroup#test_storagegroup_basic_private_container test.

Context

Split scheme has been changed: https://github.com/nspcc-dev/neofs-node/pull/2716, https://github.com/nspcc-dev/neofs-api/pull/283, https://github.com/nspcc-dev/neofs-spec/pull/97. Not all the tests are ready for that.

Originally created by @carpawell on GitHub (Mar 21, 2024). Originally assigned to: @carpawell on GitHub. <!-- Provide a general summary of the issue in the Title above --> ## Current Behavior Storage group is tested in the way (for the complex object): 1. Put SG 2. Get SG 3. Get link object of the split chain 4. Compare SG's members and the children from [the link object's header](https://github.com/nspcc-dev/neofs-testcases/blob/6e96105b8bb4543f6e7685b202d0dc3453432f76/pytest_tests/lib/helpers/storage_group.py#L235) ## Expected Behavior Children are now in the payload, not the header. ## Possible Solution Collect the children's list starting from the last one (ignore link object)? Learn how to parse link objects in python? Provide some functionality to the `neofs-cli` about parsing link objects? ## Steps to Reproduce Just run `tests.acl.test_storagegroup.TestStorageGroup#test_storagegroup_basic_private_container` test. ## Context Split scheme has been changed: https://github.com/nspcc-dev/neofs-node/pull/2716, https://github.com/nspcc-dev/neofs-api/pull/283, https://github.com/nspcc-dev/neofs-spec/pull/97. Not all the tests are ready for that.
sami 2025-12-28 18:15:35 +00:00
  • closed this issue
  • added the
    S4
    bug
    I4
    U0
    labels
Author
Owner

@carpawell commented on GitHub (Apr 19, 2024):

Closed in #781.

@carpawell commented on GitHub (Apr 19, 2024): Closed in #781.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-testcases#271
No description provided.