1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Fix flaky TestGetContainersAttachWebsocket

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi 2016-03-31 11:31:48 -07:00
parent a5e220b1e3
commit 85354fb77c

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