From 94b59e6984ddc2a732f3e4d5e37d67ad82d28171 Mon Sep 17 00:00:00 2001 From: cpwu Date: Mon, 9 May 2022 12:14:02 +0800 Subject: [PATCH] fix case --- tests/system-test/2-query/concat.py | 2 +- tests/system-test/2-query/concat_ws.py | 2 +- tests/system-test/2-query/join.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/system-test/2-query/concat.py b/tests/system-test/2-query/concat.py index 044c59c8e4..1167b444d2 100644 --- a/tests/system-test/2-query/concat.py +++ b/tests/system-test/2-query/concat.py @@ -82,7 +82,7 @@ class TDTestCase: if num > 8 or num < 2 : [tdSql.error(f"select concat( {','.join( condition ) }) from {tbname} {where_condition} {group} ") for group in groups ] - return + break tdSql.query(f"select {','.join(condition)} from {tbname} ") rows = tdSql.queryRows diff --git a/tests/system-test/2-query/concat_ws.py b/tests/system-test/2-query/concat_ws.py index 7a7feb6245..876a1c8805 100644 --- a/tests/system-test/2-query/concat_ws.py +++ b/tests/system-test/2-query/concat_ws.py @@ -82,7 +82,7 @@ class TDTestCase: if num > 8 or num < 2 : [tdSql.error(f"select concat_ws('_', {','.join( condition ) }) from {tbname} {where_condition} {group} ") for group in groups ] - return + break tdSql.query(f"select {','.join(condition)} from {tbname} ") rows = tdSql.queryRows diff --git a/tests/system-test/2-query/join.py b/tests/system-test/2-query/join.py index ce59443d2f..01125ab275 100644 --- a/tests/system-test/2-query/join.py +++ b/tests/system-test/2-query/join.py @@ -99,6 +99,7 @@ class TDTestCase: if not join_flag : tdSql.error(sql=sql) + break if len(tblist) == 2: if "ct1" in tblist or "t1" in tblist: self.__join_current(sql, checkrows)