Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
hx235 committed Dec 20, 2024
1 parent 20cfacf commit 49592d1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions db/db_wal_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1940,6 +1940,12 @@ TEST_P(DBWALTrackAndVerifyWALsWithParamsTest, Basic) {
options.wal_recovery_mode ==
WALRecoveryMode::kTolerateCorruptedTailRecords) {
ASSERT_TRUE(s.IsCorruption());
// Debug
if (!(s.ToString().find(
"Mismatched last sequence number recorded in the WAL") !=
std::string::npos)) {
std::cout << s.ToString() << std::endl;
}
ASSERT_TRUE(s.ToString().find(
"Mismatched last sequence number recorded in the WAL") !=
std::string::npos);
Expand Down

0 comments on commit 49592d1

Please sign in to comment.