Skip to content

Commit

Permalink
fix stress test
Browse files Browse the repository at this point in the history
  • Loading branch information
hx235 committed Jun 25, 2024
1 parent 97fc9b3 commit 2cda46d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db_stress_tool/db_stress_test_base.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,7 @@ void StressTest::OperateDb(ThreadState* thread) {
}
}

if (total_size <= FLAGS_backup_max_size) {
if (total_size <= FLAGS_backup_max_size && fault_fs_guard) {
// TODO(hx235): enable metadata error injection with
// backup/restore after fixing the various issues it surfaces
fault_fs_guard->DisableThreadLocalErrorInjection(
Expand Down

0 comments on commit 2cda46d

Please sign in to comment.