From ab3e3f827c648f79234f834f90cff09f8c22d6ed Mon Sep 17 00:00:00 2001 From: Egon Elbre Date: Tue, 24 Sep 2019 10:01:48 +0300 Subject: [PATCH] satellite/repair/checker: set erasure share size in tests (#3101) --- satellite/repair/checker/checker_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/satellite/repair/checker/checker_test.go b/satellite/repair/checker/checker_test.go index be468e822..c0e57298b 100644 --- a/satellite/repair/checker/checker_test.go +++ b/satellite/repair/checker/checker_test.go @@ -100,6 +100,7 @@ func TestIdentifyIrreparableSegments(t *testing.T) { CreationDate: time.Now(), Remote: &pb.RemoteSegment{ Redundancy: &pb.RedundancyScheme{ + ErasureShareSize: int32(256), MinReq: int32(4), RepairThreshold: int32(8), SuccessThreshold: int32(9), @@ -151,6 +152,7 @@ func TestIdentifyIrreparableSegments(t *testing.T) { CreationDate: time.Now(), Remote: &pb.RemoteSegment{ Redundancy: &pb.RedundancyScheme{ + ErasureShareSize: int32(256), MinReq: int32(2), RepairThreshold: int32(8), SuccessThreshold: int32(9), @@ -207,6 +209,7 @@ func makePointer(t *testing.T, planet *testplanet.Planet, pointerPath string, cr RepairThreshold: int32(repairThreshold), SuccessThreshold: int32(repairThreshold) + 1, Total: int32(repairThreshold) + 2, + ErasureShareSize: int32(256), }, RootPieceId: testrand.PieceID(), RemotePieces: pieces,