[UT] Fix join test timeout (backport #62298) (#62319)

Signed-off-by: zihe.liu <ziheliu1024@gmail.com>
Co-authored-by: zihe.liu <ziheliu1024@gmail.com>
This commit is contained in:
mergify[bot] 2025-08-26 06:24:49 +00:00 committed by GitHub
parent c844fce1fb
commit 6ca0ee936b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 9 additions and 9 deletions

View File

@ -709,8 +709,8 @@ TEST_P(BinaryColumnAppendSelectiveTestFixture, test_append_selective) {
ASSERT_EQ(src_col->get_slice(indexes[i]), dst_col->get_slice(i));
}
dst_col->append_selective(*src_col, indexes.data(), 10, static_cast<uint32_t>(indexes.size()));
ASSERT_EQ(num_dst_rows + indexes.size(), dst_col->size());
dst_col->append_selective(*src_col, indexes.data(), 10, static_cast<uint32_t>(indexes.size()) - 10);
ASSERT_EQ(num_dst_rows + indexes.size() - 10, dst_col->size());
for (uint32_t i = 10; i < indexes.size(); i++) {
ASSERT_EQ(src_col->get_slice(indexes[i]), dst_col->get_slice(num_dst_rows + i - 10));
}
@ -718,6 +718,6 @@ TEST_P(BinaryColumnAppendSelectiveTestFixture, test_append_selective) {
INSTANTIATE_TEST_SUITE_P(BinaryColumnAppendSelectiveTest, BinaryColumnAppendSelectiveTestFixture,
::testing::Values(std::make_tuple(2048), std::make_tuple(4096), std::make_tuple(40960),
std::make_tuple(32 * 1024 * 1024 + 100)));
std::make_tuple(4 * 1024 * 1024 + 10)));
} // namespace starrocks

View File

@ -1,4 +1,4 @@
-- name: test_join_linear_chained
-- name: test_join_linear_chained @sequential
set enable_hash_join_range_direct_mapping_opt = false;
-- result:
-- !result

View File

@ -1,4 +1,4 @@
-- name: test_join_one_key
-- name: test_join_one_key @sequential
CREATE TABLE __row_util_base (
k1 bigint NULL
) ENGINE=OLAP

View File

@ -1,4 +1,4 @@
-- name: test_join_range_direct_mapping
-- name: test_join_range_direct_mapping @sequential
CREATE TABLE __row_util_base (
k1 bigint NULL
) ENGINE=OLAP

View File

@ -1,4 +1,4 @@
-- name: test_join_linear_chained
-- name: test_join_linear_chained @sequential
set enable_hash_join_range_direct_mapping_opt = false;
set enable_partition_hash_join = false;

View File

@ -1,4 +1,4 @@
-- name: test_join_one_key
-- name: test_join_one_key @sequential
CREATE TABLE __row_util_base (
k1 bigint NULL
) ENGINE=OLAP

View File

@ -1,4 +1,4 @@
-- name: test_join_range_direct_mapping
-- name: test_join_range_direct_mapping @sequential
CREATE TABLE __row_util_base (
k1 bigint NULL