test: execute balancing vgroup in a loop

This commit is contained in:
chenhaoran 2024-10-29 09:57:44 +08:00
parent b0c1e79f3a
commit 316f96fb40
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class TDTestCase:
while True:
leader_after = -1
tdLog.debug("balancing vgroup leader")
tdSql.query("balance vgroup leader")
tdSql.execute("balance vgroup leader")
while True:
tdLog.debug("get new vgroup leader")
leader_after = self.get_leader()