From a93482fc8ed7d9d111addf7dd858b16a9dd469be Mon Sep 17 00:00:00 2001 From: shenglian zhou Date: Tue, 4 Jan 2022 14:18:38 +0800 Subject: [PATCH] [TD-1026](query,insert,other,connector,tools):fix test case so that it can generate new table name when tablename is all lower --- tests/pytest/query/queryTbnameUpperLower.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/pytest/query/queryTbnameUpperLower.py b/tests/pytest/query/queryTbnameUpperLower.py index 147ec04793..ec30f10890 100644 --- a/tests/pytest/query/queryTbnameUpperLower.py +++ b/tests/pytest/query/queryTbnameUpperLower.py @@ -26,6 +26,8 @@ class TDTestCase: ''' tdCom.cleanTb() table_name = tdCom.getLongName(8, "letters_mixed") + while table_name.islower(): + table_name = tdCom.getLongName(8, "letters_mixed") table_name_sub = f'{table_name}_sub' tb_name_lower = table_name_sub.lower() tb_name_upper = table_name_sub.upper() -- GitLab