Skip to content

Commit

Permalink
test: de-flake test case TestV3WatchProgressOnMemberRestart
Browse files Browse the repository at this point in the history
The case may be blocked on sending progress notification, so may
not be able to exit the goroutine.

Signed-off-by: Benjamin Wang <[email protected]>
  • Loading branch information
ahrtr committed Sep 5, 2023
1 parent ea9ef76 commit 5dd5fe3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration/v3_watch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5dd5fe3

Please sign in to comment.