diff --git a/pkg/network/transport/object/grpc/replication_test.go b/pkg/network/transport/object/grpc/replication_test.go index 39baa0d687..74ed588145 100644 --- a/pkg/network/transport/object/grpc/replication_test.go +++ b/pkg/network/transport/object/grpc/replication_test.go @@ -398,7 +398,7 @@ func TestServer_Replicate(t *testing.T) { sigsRaw := resp.GetObjectSignature() - for i := range 1 { + for i := range 3 { var sigV2 refsv2.Signature l := binary.LittleEndian.Uint32(sigsRaw) @@ -410,9 +410,9 @@ func TestServer_Replicate(t *testing.T) { require.Equal(t, signer.PublicKeyBytes, sig.PublicKeyBytes()) require.True(t, sig.Verify(objectcore.EncodeReplicationMetaInfo( o.GetContainerID(), o.GetID(), o.GetFirstID(), o.GetPreviousID(), o.PayloadSize(), o.Type(), nil, nil, - uint64((123+1+i)*240), mNumber))) + uint64((123+1+i)*240), mNumber)), i) - sigsRaw = sigsRaw[:4+l] + sigsRaw = sigsRaw[4+l:] } }) })