Merge pull request #4564 from filecoin-project/fix/chain-import-flake

Fix flaky TestChainExportImportFull
This commit is contained in:
Łukasz Magiera
2020-10-23 22:00:03 +02:00
committed by GitHub
+1 -1
View File
@@ -126,7 +126,7 @@ func TestChainExportImportFull(t *testing.T) {
}
buf := new(bytes.Buffer)
if err := cg.ChainStore().Export(context.TODO(), last, 100, false, buf); err != nil {
if err := cg.ChainStore().Export(context.TODO(), last, last.Height(), false, buf); err != nil {
t.Fatal(err)
}