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 and liaoxin01 committed Oct 26, 2024
1 parent 1c9a798 commit abb7983
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 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 @@ -153,7 +153,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 Status::Cancelled(_state->cancel_reason());
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 @@ -70,7 +70,6 @@ excludeSuites = "000_the_start_sentinel_do_not_touch," + // keep this line as th
"test_spark_load," +
"test_broker_load_func," +
"test_stream_stub_fault_injection," +
"test_delta_writer_v2_back_pressure_fault_injection," +
"zzz_the_end_sentinel_do_not_touch" // keep this line as the last line

// this directories will not be executed
Expand Down

0 comments on commit abb7983

Please sign in to comment.