From 5dd5fe35d0157656f5137554734d5410d4b02806 Mon Sep 17 00:00:00 2001 From: Benjamin Wang Date: Tue, 5 Sep 2023 15:03:59 +0100 Subject: [PATCH] test: de-flake test case TestV3WatchProgressOnMemberRestart The case may be blocked on sending progress notification, so may not be able to exit the goroutine. Signed-off-by: Benjamin Wang --- tests/integration/v3_watch_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/integration/v3_watch_test.go b/tests/integration/v3_watch_test.go index ead81abc1..7d98b2d4f 100644 --- a/tests/integration/v3_watch_test.go +++ b/tests/integration/v3_watch_test.go @@ -968,6 +968,8 @@ func TestV3WatchProgressOnMemberRestart(t *testing.T) { t.Log("Waiting for result") select { + case <-progressNotifyC: + t.Log("Progress notification received") case err := <-errC: t.Fatal(err) case <-doneC: