Skip to content

Commit

Permalink
[fix](test) fix move memtable injection test may cause other case stu…
Browse files Browse the repository at this point in the history
…ck (#40356)

Fix move memtable injection test may cause other case stuck.
  • Loading branch information
sollhui authored Sep 5, 2024
1 parent 2baed5c commit ddaec47
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion be/src/olap/delta_writer_v2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ Status DeltaWriterV2::write(const vectorized::Block* block, const std::vector<ui
SCOPED_RAW_TIMER(&_wait_flush_limit_time);
auto memtable_flush_running_count_limit = config::memtable_flush_running_count_limit;
DBUG_EXECUTE_IF("DeltaWriterV2.write.back_pressure",
{ memtable_flush_running_count_limit = 0; });
{ std::this_thread::sleep_for(std::chrono::milliseconds(10 * 1000)); });
while (_memtable_writer->flush_running_count() >= memtable_flush_running_count_limit) {
if (_state->is_cancelled()) {
return _state->cancel_reason();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ excludeSuites = "000_the_start_sentinel_do_not_touch," + // keep this line as th
"test_query_sys_rowsets," + // rowsets sys table
"test_unique_table_debug_data," + // disable auto compaction
"test_insert," + // txn insert
"test_delta_writer_v2_back_pressure_fault_injection," +
"test_full_compaction_run_status," +
"test_topn_fault_injection," +
"zzz_the_end_sentinel_do_not_touch" // keep this line as the last line
Expand Down
1 change: 0 additions & 1 deletion regression-test/pipeline/p0/conf/regression-conf.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ excludeSuites = "000_the_start_sentinel_do_not_touch," + // keep this line as th
"test_broker_load_func," +
"test_stream_stub_fault_injection," +
"test_index_compaction_failure_injection," +
"test_delta_writer_v2_back_pressure_fault_injection," +
"test_full_compaction_run_status," +
"test_topn_fault_injection," +
"zzz_the_end_sentinel_do_not_touch" // keep this line as the last line
Expand Down

0 comments on commit ddaec47

Please sign in to comment.