From cded6b0ac6292242c69d58190477a26886e0f65c Mon Sep 17 00:00:00 2001 From: Siyuan Zhang Date: Wed, 3 Jul 2024 09:03:54 -0700 Subject: [PATCH] robustness: remove head rev match in validateGotAtLeastOneProgressNotify Signed-off-by: Siyuan Zhang --- tests/robustness/watch.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/robustness/watch.go b/tests/robustness/watch.go index 45869446f..3da853f00 100644 --- a/tests/robustness/watch.go +++ b/tests/robustness/watch.go @@ -129,13 +129,11 @@ func validateGotAtLeastOneProgressNotify(t *testing.T, reports []report.ClientRe external: for _, r := range reports { for _, op := range r.Watch { - var lastHeadRevision int64 = 1 for _, resp := range op.Responses { - if resp.IsProgressNotify && resp.Revision == lastHeadRevision { + if resp.IsProgressNotify { gotProgressNotify = true break external } - lastHeadRevision = resp.Revision } } }