You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by he...@apache.org on 2026/01/07 09:11:15 UTC
(doris) 01/01: [chore](case) Fix assertion for data size check in test_query_stmt
This is an automated email from the ASF dual-hosted git repository.
hellostephen pushed a commit to branch hello-stephen-patch-15
in repository https://gitbox.apache.org/repos/asf/doris.git
commit 81ebae129c59bd12400ec39530b25f3b3915299b
Author: Dongyang Li <li...@selectdb.com>
AuthorDate: Wed Jan 7 17:11:08 2026 +0800
[chore](case) Fix assertion for data size check in test_query_stmt
---
regression-test/suites/http_rest_api/post/test_query_stmt.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/regression-test/suites/http_rest_api/post/test_query_stmt.groovy b/regression-test/suites/http_rest_api/post/test_query_stmt.groovy
index 3001da2b15d..eba5ecc11f5 100644
--- a/regression-test/suites/http_rest_api/post/test_query_stmt.groovy
+++ b/regression-test/suites/http_rest_api/post/test_query_stmt.groovy
@@ -152,7 +152,7 @@ suite("test_query_stmt") {
assertEquals(obj.msg, SUCCESS_MSG)
assertEquals(obj.code, SUCCESS_CODE)
// we can only check the number is correctly
- assertEquals(obj.data.data.size, 3)
+ assertEquals(obj.data.data.size(), 3)
url = "/api/query_schema/default_cluster/" + context.config.defaultDb
def stmt5 = " select * from ${tableName}"
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org