Skip to content

Commit 79191a9

Browse files
branch-3.0: [fix](regression test) fix case variant_github_events_nonConcurrent_p2 #50437 (#50490)
Cherry-picked from #50437 Co-authored-by: Sun Chenyang <sunchenyang@selectdb.com>
1 parent 7b70b72 commit 79191a9

File tree

1 file changed

+5
-4
lines changed
  • regression-test/suites/variant_github_events_nonConcurrent_p2

1 file changed

+5
-4
lines changed

regression-test/suites/variant_github_events_nonConcurrent_p2/load.groovy

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,12 @@ suite("regression_test_variant_github_events_p2", "nonConcurrent,p2"){
178178
load_json_data.call(table_name, """${getS3Url() + '/regression/gharchive.m/2022-11-07-22.json'}""")
179179
load_json_data.call(table_name, """${getS3Url() + '/regression/gharchive.m/2022-11-07-23.json'}""")
180180

181-
if (!isCloudMode()) {
182-
// BUILD INDEX and expect state is FINISHED
181+
// BUILD INDEX
182+
try {
183183
sql """ BUILD INDEX idx_var ON github_events"""
184-
def state = wait_for_last_build_index_on_table_finish("github_events", timeout)
185-
assertEquals("FINISHED", state)
184+
} catch (Exception e) {
185+
log.info(e.getMessage())
186+
assertTrue(e.getMessage().contains("The idx_var index can not be built on the v column, because it is a variant type column"))
186187
}
187188

188189
// // add bloom filter at the end of loading data

0 commit comments

Comments
 (0)