From 844300e24c3ac405444726c50c7201c1623874ed Mon Sep 17 00:00:00 2001 From: Qi Xu Date: Thu, 21 Mar 2024 18:50:49 -0700 Subject: [PATCH] fix case Signed-off-by: Qi Xu --- db/version_edit_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/version_edit_test.cc b/db/version_edit_test.cc index c9e918c4e80..1c95472b0a0 100644 --- a/db/version_edit_test.cc +++ b/db/version_edit_test.cc @@ -475,7 +475,7 @@ TEST_F(VersionEditTest, AddWalDebug) { VersionEdit edit; for (int i = 0; i < n; i++) { - edit.AddWal(kLogNumbers[i], WalMetadata(kSizeInBytes[i])); + edit.AddWal(kLogNumbers[i], WalMetadata(kSizeInBytes[i], 0)); } const WalAdditions& wals = edit.GetWalAdditions(); @@ -573,7 +573,7 @@ TEST_F(VersionEditTest, IgnorableTags) { VersionEdit edit; // Add some ignorable entries. for (int i = 0; i < 2; i++) { - edit.AddWal(i + 1, WalMetadata(i + 2)); + edit.AddWal(i + 1, WalMetadata(i + 2, 0)); } edit.SetDBId("db_id"); // Add unignorable entries.