testerasure: use encoding with M=2
Since repostore is not reference counting, and a single parity is often the same as one of the blocks, test easily delete more blocks than intended. Better to use M=2 Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
879d3d31fa
commit
53dc6e20f4
|
@ -371,7 +371,7 @@ asyncchecksuite "Erasure encode/decode":
|
|||
|
||||
test "3D encode: test multi-dimensional API with drop":
|
||||
const
|
||||
encoding = @[(7, 3),(5, 2),(3, 1)]
|
||||
encoding = @[(7, 3),(5, 2),(3, 2)]
|
||||
|
||||
let encoded = (await erasure.encodeMulti(manifest, encoding)).tryGet()
|
||||
|
||||
|
|
Loading…
Reference in New Issue