test: throttle history verification

This commit is contained in:
richjohnrambo
2026-09-28 08:17:14 +08:00
parent cb2210aa3e
commit d3c679878d
9 changed files with 141 additions and 10 deletions
+2 -2
View File
@@ -390,7 +390,7 @@ func (r *agentRun) issueHistoryQueries(ctx context.Context, queries []historyQue
return
}
jobs := make(chan historyQuery)
interval := 100 * time.Millisecond
interval := 500 * time.Millisecond
if r.cfg != nil && r.cfg.HistoryInterval != "" {
interval = mustDuration(r.cfg.HistoryInterval)
}
@@ -430,7 +430,7 @@ func (r *agentRun) historyPageSize() int {
if r.cfg != nil && r.cfg.HistoryPageSize > 0 {
return r.cfg.HistoryPageSize
}
return 50
return 20
}
func missingHistory(recorder *deliveryRecorder, expected map[string]AcceptedMessage) []AcceptedMessage {