This is an automated email from the ASF dual-hosted git repository. dataroaring pushed a commit to branch branch-3.0 in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push: new 9045fb6f4e3 branch-3.0: [fix](cloud-mow)Fix case test_schema_change_with_mow_txn_conflict #47044 (#47306) 9045fb6f4e3 is described below commit 9045fb6f4e399cdf95d2339c2b49d1ef071daaca Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Jan 22 18:35:36 2025 +0800 branch-3.0: [fix](cloud-mow)Fix case test_schema_change_with_mow_txn_conflict #47044 (#47306) Cherry-picked from #47044 Co-authored-by: huanghaibin <huanghai...@selectdb.com> --- be/src/cloud/cloud_schema_change_job.cpp | 2 +- .../schema_change_p0/test_schema_change_with_mow_txn_conflict.groovy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/be/src/cloud/cloud_schema_change_job.cpp b/be/src/cloud/cloud_schema_change_job.cpp index 9875f310bc2..efed5eeee41 100644 --- a/be/src/cloud/cloud_schema_change_job.cpp +++ b/be/src/cloud/cloud_schema_change_job.cpp @@ -380,7 +380,7 @@ Status CloudSchemaChangeJob::_convert_historical_rowsets(const SchemaChangeParam DBUG_EXECUTE_IF("CloudSchemaChangeJob::_convert_historical_rowsets.test_conflict", { std::srand(static_cast<unsigned int>(std::time(nullptr))); int random_value = std::rand() % 100; - if (random_value < 50) { + if (random_value < 20) { return Status::Error<ErrorCode::DELETE_BITMAP_LOCK_ERROR>("test txn conflict"); } }); diff --git a/regression-test/suites/schema_change_p0/test_schema_change_with_mow_txn_conflict.groovy b/regression-test/suites/schema_change_p0/test_schema_change_with_mow_txn_conflict.groovy index 448ae3bc0fb..f2130956ad6 100644 --- a/regression-test/suites/schema_change_p0/test_schema_change_with_mow_txn_conflict.groovy +++ b/regression-test/suites/schema_change_p0/test_schema_change_with_mow_txn_conflict.groovy @@ -18,7 +18,7 @@ import java.util.concurrent.TimeUnit import org.awaitility.Awaitility -suite("test_schema_change_with_mow_txn_conflict", "p0") { +suite("test_schema_change_with_mow_txn_conflict", "nonConcurrent") { def customFeConfig = [ schema_change_max_retry_time: 10 ] --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org