fix:[TD-31047] change poll delay bigger to avoid consumer null if split too long

This commit is contained in:
wangmm0220 2024-08-07 19:06:42 +08:00
parent 621bc6750d
commit c9eb3ca2f9
2 changed files with 5 additions and 8 deletions

View File

@ -140,7 +140,7 @@ class TDTestCase:
'rowsPerTbl': 10000,
'batchNum': 10,
'startTs': 1640966400000, # 2022-01-01 00:00:00.000
'pollDelay': 60,
'pollDelay': 5,
'showMsg': 1,
'showRow': 1,
'snapshot': 0}
@ -190,9 +190,6 @@ class TDTestCase:
# redistribute vgroup
self.redistributeVgroups()
tdLog.info("start consume processor")
tmqCom.startTmqSimProcess(pollDelay=paraDict['pollDelay'],dbName=paraDict["dbName"],showMsg=paraDict['showMsg'], showRow=paraDict['showRow'],snapshot=paraDict['snapshot'])
tdLog.info("wait the consume result")
expectRows = 1
resultList = tmqCom.selectConsumeResult(expectRows)
@ -219,7 +216,7 @@ class TDTestCase:
'rowsPerTbl': 1000,
'batchNum': 10,
'startTs': 1640966400000, # 2022-01-01 00:00:00.000
'pollDelay': 60,
'pollDelay': 10,
'showMsg': 1,
'showRow': 1,
'snapshot': 0}

View File

@ -49,7 +49,7 @@ class TDTestCase:
'rowsPerTbl': 1000,
'batchNum': 10,
'startTs': 1640966400000, # 2022-01-01 00:00:00.000
'pollDelay': 60,
'pollDelay': 30,
'showMsg': 1,
'showRow': 1,
'snapshot': 0}
@ -141,7 +141,7 @@ class TDTestCase:
'rowsPerTbl': 1000,
'batchNum': 10,
'startTs': 1640966400000, # 2022-01-01 00:00:00.000
'pollDelay': 60,
'pollDelay': 10,
'showMsg': 1,
'showRow': 1,
'snapshot': 0}
@ -220,7 +220,7 @@ class TDTestCase:
'rowsPerTbl': 1000,
'batchNum': 10,
'startTs': 1640966400000, # 2022-01-01 00:00:00.000
'pollDelay': 60,
'pollDelay': 10,
'showMsg': 1,
'showRow': 1,
'snapshot': 0}