This is an automated email from the ASF dual-hosted git repository. dataroaring 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 8b80fb84151 [fix](regression) fix test_primary_key_simple_case (#38798) 8b80fb84151 is described below commit 8b80fb841519f2036e0e3fd4a2629aae6c29f476 Author: meiyi <myime...@gmail.com> AuthorDate: Sun Aug 4 10:32:02 2024 +0800 [fix](regression) fix test_primary_key_simple_case (#38798) ## Proposed changes the case is failed: ``` assertTrue(result.size() == 7) assertTrue(result[6][10] == 25) ^^^^^^^^^^^^^^^^^^^^^^^^^^ERROR LINE^^^^^^^^^^^^^^^^^^^^^^^^^^ Exception: java.lang.NullPointerException: Cannot invoke method getAt() on null object ``` --- .../suites/unique_with_mow_c_p0/test_primary_key_simple_case.groovy | 2 +- .../suites/unique_with_mow_p0/test_primary_key_simple_case.groovy | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/regression-test/suites/unique_with_mow_c_p0/test_primary_key_simple_case.groovy b/regression-test/suites/unique_with_mow_c_p0/test_primary_key_simple_case.groovy index 49d4cd53ddc..94b3051cba3 100644 --- a/regression-test/suites/unique_with_mow_c_p0/test_primary_key_simple_case.groovy +++ b/regression-test/suites/unique_with_mow_c_p0/test_primary_key_simple_case.groovy @@ -66,7 +66,7 @@ suite("test_primary_key_simple_case") { (5, '2017-10-01', 'Beijing', 10, 1, NULL, NULL, '2020-01-05', 1, 34, 20) """ - result = sql """ SELECT * FROM ${tableName} t ORDER BY user_id; """ + def result = sql """ SELECT * FROM ${tableName} t ORDER BY user_id; """ assertTrue(result.size() == 5) assertTrue(result[0].size() == 11) diff --git a/regression-test/suites/unique_with_mow_p0/test_primary_key_simple_case.groovy b/regression-test/suites/unique_with_mow_p0/test_primary_key_simple_case.groovy index a2e351372e3..91d1da9162c 100644 --- a/regression-test/suites/unique_with_mow_p0/test_primary_key_simple_case.groovy +++ b/regression-test/suites/unique_with_mow_p0/test_primary_key_simple_case.groovy @@ -62,7 +62,7 @@ suite("test_primary_key_simple_case") { (5, '2017-10-01', 'Beijing', 10, 1, NULL, NULL, '2020-01-05', 1, 34, 20) """ - result = sql """ SELECT * FROM ${tableName} t ORDER BY user_id; """ + def result = sql """ SELECT * FROM ${tableName} t ORDER BY user_id; """ assertTrue(result.size() == 5) assertTrue(result[0].size() == 11) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org