You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by kx...@apache.org on 2023/06/22 01:07:50 UTC
[doris] branch master updated: [fix](regression-test) test case variable scope bug (#21071)
This is an automated email from the ASF dual-hosted git repository.
kxiao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new d5455dd04b [fix](regression-test) test case variable scope bug (#21071)
d5455dd04b is described below
commit d5455dd04b534abe4567e6320491f4ed11e56574
Author: shuke <37...@users.noreply.github.com>
AuthorDate: Thu Jun 22 09:07:44 2023 +0800
[fix](regression-test) test case variable scope bug (#21071)
---
.../suites/inverted_index_p0/test_add_drop_index_with_data.groovy | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/regression-test/suites/inverted_index_p0/test_add_drop_index_with_data.groovy b/regression-test/suites/inverted_index_p0/test_add_drop_index_with_data.groovy
index 7184a72c69..35aceb3717 100644
--- a/regression-test/suites/inverted_index_p0/test_add_drop_index_with_data.groovy
+++ b/regression-test/suites/inverted_index_p0/test_add_drop_index_with_data.groovy
@@ -40,7 +40,7 @@ suite("test_add_drop_index_with_data", "inverted_index"){
def wait_for_build_index_on_partition_finish = { table_name, OpTimeout ->
for(int t = delta_time; t <= OpTimeout; t += delta_time){
alter_res = sql """SHOW BUILD INDEX WHERE TableName = "${table_name}";"""
- expected_finished_num = alter_res.size();
+ def expected_finished_num = alter_res.size();
finished_num = 0;
for (int i = 0; i < expected_finished_num; i++) {
logger.info(table_name + " build index job state: " + alter_res[i][7] + i)
@@ -313,4 +313,4 @@ suite("test_add_drop_index_with_data", "inverted_index"){
assertEquals(select_result[1][0], 2)
assertEquals(select_result[1][1], "name2")
assertEquals(select_result[1][2], "desc 2")
-}
\ No newline at end of file
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org