mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Fixed goroutine leak in tests/integration/v3_watch_restore_test.go
Signed-off-by: VladSaioc <vladsaioc10@gmail.com>
This commit is contained in:
parent
046c46e52e
commit
2c89834608
@ -130,7 +130,7 @@ func TestV3WatchRestoreSnapshotUnsync(t *testing.T) {
|
||||
// should be able to notify on old-revision watchers in unsynced
|
||||
// make sure restore watch operation correctly moves watchers
|
||||
// between synced and unsynced watchers
|
||||
errc := make(chan error)
|
||||
errc := make(chan error, 1)
|
||||
go func() {
|
||||
cresp, cerr := wStream.Recv()
|
||||
if cerr != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user