Skip to content

Commit

Permalink
[fix](testcase) fix test_index_ddl_fault_injection for apache#35528 (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaokang authored and caiconghui1 committed Jun 24, 2024
1 parent 0a4cc87 commit 835b5bb
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ suite("test_index_ddl_fault_injection", "nonConcurrent") {
}

try {
// temporaryly disable enable_create_bitmap_index_as_inverted_index
sql "ADMIN SET FRONTEND CONFIG ('enable_create_bitmap_index_as_inverted_index' = 'false')"
sql "DROP TABLE IF EXISTS `test_index_ddl_fault_injection_tbl`"
sql """
CREATE TABLE test_index_ddl_fault_injection_tbl (
Expand Down Expand Up @@ -112,5 +114,7 @@ suite("test_index_ddl_fault_injection", "nonConcurrent") {
GetDebugPoint().disableDebugPointForAllBEs("BitmapIndexReader::new_iterator.fail");
}
} finally {
// restore enable_create_bitmap_index_as_inverted_index
sql "ADMIN SET FRONTEND CONFIG ('enable_create_bitmap_index_as_inverted_index' = 'true')"
}
}

0 comments on commit 835b5bb

Please sign in to comment.