mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
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:
parent
ea9ef764a6
commit
5dd5fe35d0
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user