Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Nov 15, 2023
1 parent 46bd791 commit 7ed0fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memiavl/snapshot_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ func testSnapshotRoundTrip(t *testing.T, db *DB) {
require.NoError(t, importer.Add(item))
}

require.NoError(t, exporter.Close())
require.NoError(t, importer.Finalize())
require.NoError(t, importer.Close())
require.NoError(t, exporter.Close())

db2, err := Load(restoreDir, Options{})
require.NoError(t, err)
Expand Down

0 comments on commit 7ed0fbe

Please sign in to comment.