From 9bd3d5b0a64b84dd5e3a744b6408898143bb628e Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Wed, 21 Feb 2024 17:48:01 +0300 Subject: [PATCH] pool: fix AIO test, fix #549 Signed-off-by: Roman Khimov --- pool/pool_aio_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pool/pool_aio_test.go b/pool/pool_aio_test.go index 4ef421a5..587c39fc 100644 --- a/pool/pool_aio_test.go +++ b/pool/pool_aio_test.go @@ -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) })