[#220] blobstor: Fix hard-code in blobovnicza unit test
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
9d4fba923c
commit
8bff073061
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ func TestBlobovniczas(t *testing.T) {
|
||||||
objSz := uint64(szLim / 2)
|
objSz := uint64(szLim / 2)
|
||||||
|
|
||||||
addrList := make([]*objectSDK.Address, 0)
|
addrList := make([]*objectSDK.Address, 0)
|
||||||
minFitObjNum := 2 * 2 * szLim / objSz
|
minFitObjNum := width * depth * szLim / objSz
|
||||||
|
|
||||||
for i := uint64(0); i < minFitObjNum; i++ {
|
for i := uint64(0); i < minFitObjNum; i++ {
|
||||||
obj := testObject(objSz)
|
obj := testObject(objSz)
|
||||||
|
|
Loading…
Reference in a new issue