forked from TrueCloudLab/frostfs-node
[#264] object/get: Check parent address in linking/last child
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
ec21040542
commit
66f9532857
4 changed files with 36 additions and 19 deletions
|
@ -826,6 +826,7 @@ func TestGetRemoteSmall(t *testing.T) {
|
|||
children, childIDs, payload := generateChain(2, cid)
|
||||
srcObj.SetPayload(payload)
|
||||
srcObj.SetPayloadSize(uint64(len(payload)))
|
||||
children[len(children)-1].SetParent(srcObj.Object().SDK())
|
||||
|
||||
linkAddr := objectSDK.NewAddress()
|
||||
linkAddr.SetContainerID(cid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue