From 8bff0730615cb6362688b0a40336c448235d1285 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Mon, 30 Nov 2020 16:35:45 +0300 Subject: [PATCH] [#220] blobstor: Fix hard-code in blobovnicza unit test Signed-off-by: Leonard Lyubich --- pkg/local_object_storage/blobstor/blobovnicza_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/local_object_storage/blobstor/blobovnicza_test.go b/pkg/local_object_storage/blobstor/blobovnicza_test.go index 3572b9163b..479a595791 100644 --- a/pkg/local_object_storage/blobstor/blobovnicza_test.go +++ b/pkg/local_object_storage/blobstor/blobovnicza_test.go @@ -84,7 +84,7 @@ func TestBlobovniczas(t *testing.T) { objSz := uint64(szLim / 2) addrList := make([]*objectSDK.Address, 0) - minFitObjNum := 2 * 2 * szLim / objSz + minFitObjNum := width * depth * szLim / objSz for i := uint64(0); i < minFitObjNum; i++ { obj := testObject(objSz)