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
commit e395559f75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)
}