Merge pull request #29883 from taosdata/fix/TD-33804-fix-ci-add-check-status

fix/TD-33804-fix-ci-add-check-status
This commit is contained in:
Simon Guan 2025-02-27 10:39:52 +08:00 committed by GitHub
commit 016e2c7ba3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -75,6 +75,12 @@ class TDTestCase:
def restoreDnodeThread(self, p, newTdSql):
sleep(1)
count = 0
while count < 100:
newTdSql.query('show dnodes')
if newTdSql.queryResult[1][4] == "ready":
break
count+=1
sql = f"restore dnode 2"
tdLog.info(sql)