Skip to content

Commit

Permalink
Merge pull request #4564 from filecoin-project/fix/chain-import-flake
Browse files Browse the repository at this point in the history
Fix flaky TestChainExportImportFull
  • Loading branch information
magik6k authored Oct 23, 2020
2 parents 8124fe9 + c7e6c8e commit e395559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain/store/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit e395559

Please sign in to comment.