From 9420fa47d3ead605926205cfe0ffabaaf861f896 Mon Sep 17 00:00:00 2001 From: Calvin Neo Date: Wed, 25 Sep 2024 22:04:05 +0800 Subject: [PATCH] tests: Disable some tests of inactivated features on 7.5 (#9466) close pingcap/tiflash#9405 Signed-off-by: Calvin Neo Co-authored-by: Purelind Co-authored-by: JaySon --- .../tests/gtest_dm_delta_merge_store_fast_add_peer.cpp | 3 +++ dbms/src/Storages/KVStore/tests/gtest_raftstore_v2.cpp | 2 ++ 2 files changed, 5 insertions(+) diff --git a/dbms/src/Storages/DeltaMerge/tests/gtest_dm_delta_merge_store_fast_add_peer.cpp b/dbms/src/Storages/DeltaMerge/tests/gtest_dm_delta_merge_store_fast_add_peer.cpp index eb3a684d728..1a9c884f5b9 100644 --- a/dbms/src/Storages/DeltaMerge/tests/gtest_dm_delta_merge_store_fast_add_peer.cpp +++ b/dbms/src/Storages/DeltaMerge/tests/gtest_dm_delta_merge_store_fast_add_peer.cpp @@ -274,6 +274,8 @@ class DeltaMergeStoreTestFastAddPeer constexpr static const char * TRACING_NAME = "DeltaMergeStoreTestFastAddPeer"; }; + +#if 0 TEST_P(DeltaMergeStoreTestFastAddPeer, SimpleWriteReadAfterRestoreFromCheckPoint) try { @@ -407,6 +409,7 @@ try num_rows_write / 2 + 2 * num_rows_write); } CATCH +#endif TEST_P(DeltaMergeStoreTestFastAddPeer, SimpleWriteReadAfterRestoreFromCheckPointWithSplit) try diff --git a/dbms/src/Storages/KVStore/tests/gtest_raftstore_v2.cpp b/dbms/src/Storages/KVStore/tests/gtest_raftstore_v2.cpp index 616c6f4e815..c4779f20dc0 100644 --- a/dbms/src/Storages/KVStore/tests/gtest_raftstore_v2.cpp +++ b/dbms/src/Storages/KVStore/tests/gtest_raftstore_v2.cpp @@ -299,6 +299,7 @@ try } CATCH +#if 0 // Test if one subtask throws. TEST_F(RegionKVStoreTest, KVStoreSingleSnap4) try @@ -372,6 +373,7 @@ try } } CATCH +#endif // Test if default has significantly more kvs than write cf. TEST_F(RegionKVStoreTest, KVStoreSingleSnap5)