Skip to content

Commit

Permalink
pool: fix AIO test, fix #549
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Khimov <[email protected]>
  • Loading branch information
roman-khimov committed Feb 21, 2024
1 parent 24254bf commit 9bd3d5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pool/pool_aio_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ func testPoolInterfaceWithAIO(t *testing.T, nodeAddr string) {
ctxTimeout, cancel := context.WithTimeout(ctx, defaultTimeOut*time.Duration(times))
defer cancel()

payload = append(payload, 0x01) // Make it different from the one above, otherwise OID will be the same and we can get "status: code = 2052 message = object already removed"
objID := testObjectPutInit(ctxTimeout, t, account, containerID, signer, payload, pool)
objectList = append(objectList, objID)
})
Expand Down

0 comments on commit 9bd3d5b

Please sign in to comment.