diff --git a/tests/system-test/2-query/join.py b/tests/system-test/2-query/join.py index 015538ec1e77b637a06cea757406802ffa901796..57e433804d731cd06d9d57182c791f13af9f2f0e 100644 --- a/tests/system-test/2-query/join.py +++ b/tests/system-test/2-query/join.py @@ -103,9 +103,9 @@ class TDTestCase: if "ct1" in tblist or "t1" in tblist: self.__join_current(sql, checkrows) elif where_condition: - self.__join_current(sql, checkrows + 5 ) - else: self.__join_current(sql, checkrows + 2 ) + else: + self.__join_current(sql, checkrows + 5 ) if len(tblist) > 2 or len(tblist) < 1: tdSql.error(sql=sql) @@ -154,7 +154,7 @@ class TDTestCase: self.__join_check(tblist_1, 1) tdLog.printNoPrefix(f"==========current sql condition check in {tblist_1} over==========") tblist_2 = ["ct2", "ct4"] - self.__join_check(tblist_2, self.rows - 3) + self.__join_check(tblist_2, self.rows) tdLog.printNoPrefix(f"==========current sql condition check in {tblist_2} over==========") tblist_3 = ["t1", "ct4"] self.__join_check(tblist_3, 1)