From 8ee2ae550f4c02436123457729ee4ebe2b604537 Mon Sep 17 00:00:00 2001 From: cpwu Date: Fri, 6 May 2022 14:06:46 +0800 Subject: [PATCH] fix case --- tests/system-test/2-query/join.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/system-test/2-query/join.py b/tests/system-test/2-query/join.py index 1ab8fe6dd8..aea454b9b7 100644 --- a/tests/system-test/2-query/join.py +++ b/tests/system-test/2-query/join.py @@ -100,7 +100,10 @@ class TDTestCase: if not join_flag : tdSql.error(sql=sql) if len(tblist) == 2: - self.__join_current(sql, checkrows + 2 ) if where_condition else self.__join_current(sql, checkrows + 5 ) + if "ct1" in tblist or "t1" in tblist: + self.__join_current(sql, checkrows) + else: + self.__join_current(sql, checkrows + 2 ) if where_condition else self.__join_current(sql, checkrows + 5 ) if len(tblist) > 2 or len(tblist) < 1: tdSql.error(sql=sql) -- GitLab