Skip to content

Commit a203a54

Browse files
committed
chore: fix ci problem
1 parent c2351a8 commit a203a54

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/cases/32-Grants/test_grant_basic.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def checkGrantsTimeSeries(self, prompt="", nExpectedTimeSeries=0, strictMode=Fal
8282
tss_grant = self.getShowGrantsTimeSeries()
8383
if tss_grant == nExpectedTimeSeries:
8484
if not strictMode:
85+
tdLog.info(f"{prompt}: tss_grant: {tss_grant} == nExpectedTimeSeries: {nExpectedTimeSeries}, retry: {nRetry}")
8586
return
8687
tss_table = self.getTablesTimeSeries()
8788
if tss_grant == tss_table:
@@ -293,6 +294,8 @@ def s5_check_timeseries_exclude_systable(self):
293294
tkAuditStb = self.parseSystemStbArrayFromC(vnodeQueryPath, "tkAuditStb")
294295
tdLog.info(f"Parsed tkLogStb ({len(tkLogStb)} items): {tkLogStb}")
295296
tdLog.info(f"Parsed tkAuditStb ({len(tkAuditStb)} items): {tkAuditStb}")
297+
assert len(tkLogStb) > 0, "Parsed tkLogStb is empty"
298+
assert len(tkAuditStb) > 0, "Parsed tkAuditStb is empty"
296299

297300
tdLog.printNoPrefix("======== test timeseries exclude systable: ")
298301
try:

0 commit comments

Comments
 (0)