satellite/repair/checker: set erasure share size in tests (#3101)
This commit is contained in:
parent
a7040647a4
commit
ab3e3f827c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user