From d80aaba6845b26d23a3cfac62c7a85062e5e9d3c Mon Sep 17 00:00:00 2001 From: HuangYi Date: Wed, 17 May 2023 11:36:14 +0800 Subject: [PATCH] fix unit test --- memiavl/snapshot_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/memiavl/snapshot_test.go b/memiavl/snapshot_test.go index be8456e3d5..024cc9f67b 100644 --- a/memiavl/snapshot_test.go +++ b/memiavl/snapshot_test.go @@ -132,8 +132,9 @@ func TestSnapshotImportExport(t *testing.T) { func TestDBSnapshotRestore(t *testing.T) { db, err := Load(t.TempDir(), Options{ - CreateIfMissing: true, - InitialStores: []string{"test"}, + CreateIfMissing: true, + InitialStores: []string{"test"}, + AsyncCommitBuffer: -1, }) require.NoError(t, err)