test:modify check for consumer number

This commit is contained in:
plum-lihui 2023-06-30 10:53:19 +08:00
parent 015415b6af
commit 21ffc07768
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ class TDTestCase:
tdLog.exit("show topics %d not equal expect num: %d"%(topicNum, expectTopicNum))
flag = 0
for i in range(10):
while (1):
tdSql.query('show consumers;')
consumerNUm = tdSql.queryRows
tdLog.info(" get consumers count: %d"%(consumerNUm))