Skip to content

Commit 057438b

Browse files
authored
enh: increase maxRetry from 15 to 30 in checkGrantsTimeSeries
1 parent a203a54 commit 057438b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cases/32-Grants/test_grant_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def getTablesTimeSeries(self, ):
7777
tdSql.query(f"select cast(sum(columns-1) as int) as tss from information_schema.ins_tables where db_name not in ('information_schema', 'performance_schema', 'audit') and type not like '%VIRTUAL%'")
7878
return int(tdSql.queryResult[0][0])
7979

80-
def checkGrantsTimeSeries(self, prompt="", nExpectedTimeSeries=0, strictMode=False, maxRetry=15):
80+
def checkGrantsTimeSeries(self, prompt="", nExpectedTimeSeries=0, strictMode=False, maxRetry=30):
8181
for nRetry in range(maxRetry):
8282
tss_grant = self.getShowGrantsTimeSeries()
8383
if tss_grant == nExpectedTimeSeries:

0 commit comments

Comments
 (0)