diff --git a/dbms/src/Storages/Transaction/tests/gtest_region_persister.cpp b/dbms/src/Storages/Transaction/tests/gtest_region_persister.cpp index a62a4d38a70..bf75878bb76 100644 --- a/dbms/src/Storages/Transaction/tests/gtest_region_persister.cpp +++ b/dbms/src/Storages/Transaction/tests/gtest_region_persister.cpp @@ -294,7 +294,6 @@ try SCOPE_EXIT( { FailPointHelper::disableFailPoint(FailPoints::force_enable_region_persister_compatible_mode); TiFlashTestEnv::getGlobalContext().setPageStorageRunMode(current_storage_run_mode); }); - TiFlashTestEnv::getGlobalContext().setPageStorageRunMode(PageStorageRunMode::ONLY_V2); auto ctx = TiFlashTestEnv::getContext(DB::Settings(), Strings{ path,