test:modify check for consumer number
This commit is contained in:
parent
015415b6af
commit
21ffc07768
|
@ -186,7 +186,7 @@ class TDTestCase:
|
||||||
tdLog.exit("show topics %d not equal expect num: %d"%(topicNum, expectTopicNum))
|
tdLog.exit("show topics %d not equal expect num: %d"%(topicNum, expectTopicNum))
|
||||||
|
|
||||||
flag = 0
|
flag = 0
|
||||||
for i in range(10):
|
while (1):
|
||||||
tdSql.query('show consumers;')
|
tdSql.query('show consumers;')
|
||||||
consumerNUm = tdSql.queryRows
|
consumerNUm = tdSql.queryRows
|
||||||
tdLog.info(" get consumers count: %d"%(consumerNUm))
|
tdLog.info(" get consumers count: %d"%(consumerNUm))
|
||||||
|
|
Loading…
Reference in New Issue