Merge pull request #21698 from tonistiigi/fix-flaky-websocket-attach-test
Fix flaky TestGetContainersAttachWebsocket
This commit is contained in:
commit
dd94c88376
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ func (s *DockerSuite) TestGetContainersAttachWebsocket(c *check.C) {
|
|||
|
||||
outChan := make(chan error)
|
||||
go func() {
|
||||
_, err := ws.Read(actual)
|
||||
_, err := io.ReadFull(ws, actual)
|
||||
outChan <- err
|
||||
close(outChan)
|
||||
}()
|
||||
|
|
Loading…
Add table
Reference in a new issue