diff --git a/tests/robustness/validate/patch_history.go b/tests/robustness/validate/patch_history.go index 8cc22375275..17e282c8b0a 100644 --- a/tests/robustness/validate/patch_history.go +++ b/tests/robustness/validate/patch_history.go @@ -42,7 +42,11 @@ func uniqueWatchEvents(reports []report.ClientReport) map[model.Event]traffic.Ti for _, op := range r.Watch { for _, resp := range op.Responses { for _, event := range resp.Events { - persisted[event.Event] = traffic.TimedWatchEvent{Time: resp.Time, WatchEvent: event} + responseTime := resp.Time + if prev, found := persisted[event.Event]; found && prev.Time < responseTime { + responseTime = prev.Time + } + persisted[event.Event] = traffic.TimedWatchEvent{Time: responseTime, WatchEvent: event} } } }