test: adjust test case for taos/taosd version output

This commit is contained in:
kailixu 2024-06-06 14:10:33 +08:00
parent 5eb4f66452
commit cf6cbee568
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ class TDTestCase:
tdSql.query('show dnode 1 variables') tdSql.query('show dnode 1 variables')
for i in tdSql.queryResult: for i in tdSql.queryResult:
if i[1].lower() == "gitinfo": if i[1].lower() == "gitinfo":
taosd_gitinfo_sql = f"gitinfo: {i[2]}" taosd_gitinfo_sql = f"git: {i[2]}"
taos_gitinfo_sql = '' taos_gitinfo_sql = ''
tdSql.query('show local variables') tdSql.query('show local variables')
for i in tdSql.queryResult: for i in tdSql.queryResult: