fix: ci test case
This commit is contained in:
parent
4c47626baf
commit
4bfddf5020
|
@ -222,7 +222,7 @@ class TDTestCase:
|
||||||
|
|
||||||
tdSql.query("select * from information_schema.ins_columns where db_name ='information_schema'")
|
tdSql.query("select * from information_schema.ins_columns where db_name ='information_schema'")
|
||||||
tdLog.info(len(tdSql.queryResult))
|
tdLog.info(len(tdSql.queryResult))
|
||||||
tdSql.checkEqual(True, len(tdSql.queryResult) in range(254, 255))
|
tdSql.checkEqual(True, len(tdSql.queryResult) in range(255, 256))
|
||||||
|
|
||||||
tdSql.query("select * from information_schema.ins_columns where db_name ='performance_schema'")
|
tdSql.query("select * from information_schema.ins_columns where db_name ='performance_schema'")
|
||||||
tdSql.checkEqual(54, len(tdSql.queryResult))
|
tdSql.checkEqual(54, len(tdSql.queryResult))
|
||||||
|
@ -336,7 +336,7 @@ class TDTestCase:
|
||||||
tdSql.checkEqual(True, result[i][1] in key_status_list[1])
|
tdSql.checkEqual(True, result[i][1] in key_status_list[1])
|
||||||
index += 1
|
index += 1
|
||||||
tdSql.checkEqual(True, index > 0)
|
tdSql.checkEqual(True, index > 0)
|
||||||
|
|
||||||
tdSql.query(f'show encryptions')
|
tdSql.query(f'show encryptions')
|
||||||
result = tdSql.queryResult
|
result = tdSql.queryResult
|
||||||
index = 0
|
index = 0
|
||||||
|
@ -344,7 +344,7 @@ class TDTestCase:
|
||||||
tdSql.checkEqual(True, result[i][1] in key_status_list[1])
|
tdSql.checkEqual(True, result[i][1] in key_status_list[1])
|
||||||
index += 1
|
index += 1
|
||||||
tdSql.checkEqual(True, index > 0)
|
tdSql.checkEqual(True, index > 0)
|
||||||
|
|
||||||
# loaded/sm4
|
# loaded/sm4
|
||||||
tdSql.execute('drop database if exists db2')
|
tdSql.execute('drop database if exists db2')
|
||||||
tdSql.execute('create encrypt_key \'12345678\'')
|
tdSql.execute('create encrypt_key \'12345678\'')
|
||||||
|
@ -357,7 +357,7 @@ class TDTestCase:
|
||||||
tdSql.checkEqual(True, result[i][1] in key_status_list[3])
|
tdSql.checkEqual(True, result[i][1] in key_status_list[3])
|
||||||
index += 1
|
index += 1
|
||||||
tdSql.checkEqual(True, index > 0)
|
tdSql.checkEqual(True, index > 0)
|
||||||
|
|
||||||
tdSql.query(f'show encryptions')
|
tdSql.query(f'show encryptions')
|
||||||
result = tdSql.queryResult
|
result = tdSql.queryResult
|
||||||
index = 0
|
index = 0
|
||||||
|
|
Loading…
Reference in New Issue