From adc38f8e5dac660c2fabb870927e549ab1fe699c Mon Sep 17 00:00:00 2001 From: lihangyu <15605149486@163.com> Date: Wed, 15 May 2024 23:13:50 +0800 Subject: [PATCH] [chore](regression-test) forbit BUILD INDEX in cloud mode for variant case (#34924) --- .../suites/variant_github_events_p0/load.groovy | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/regression-test/suites/variant_github_events_p0/load.groovy b/regression-test/suites/variant_github_events_p0/load.groovy index 0de6957dddc6e5..cec4fb69fd42d5 100644 --- a/regression-test/suites/variant_github_events_p0/load.groovy +++ b/regression-test/suites/variant_github_events_p0/load.groovy @@ -177,11 +177,13 @@ suite("regression_test_variant_github_events_p0", "nonConcurrent"){ load_json_data.call(table_name, """${getS3Url() + '/regression/gharchive.m/2022-11-07-22.json'}""") load_json_data.call(table_name, """${getS3Url() + '/regression/gharchive.m/2022-11-07-23.json'}""") - // BUILD INDEX and expect state is FINISHED - sql """ BUILD INDEX idx_var ON github_events""" - state = wait_for_last_build_index_on_table_finish("github_events", timeout) - assertEquals("FINISHED", state) - + if (!isCloudMode()) { + // BUILD INDEX and expect state is FINISHED + sql """ BUILD INDEX idx_var ON github_events""" + state = wait_for_last_build_index_on_table_finish("github_events", timeout) + assertEquals("FINISHED", state) + } + // add bloom filter at the end of loading data def tablets = sql_return_maparray """ show tablets from github_events; """