Merge pull request from tonistiigi/fix-flaky-websocket-attach-test

Fix flaky TestGetContainersAttachWebsocket
This commit is contained in:
Aaron Lehmann 2016-03-31 14:03:58 -07:00
commit dd94c88376

View file

@ -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)
}()