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 <wachao@vmware.com>
This commit is contained in:
Benjamin Wang 2023-09-05 15:03:59 +01:00
parent ea9ef764a6
commit 5dd5fe35d0

View File

@ -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: