Fix flaky TestGetContainersAttachWebsocket

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Upstream-commit: 85354fb77c77aabe6ba1f53c90aa2395b4e81866
Component: engine
This commit is contained in:
Tonis Tiigi
2016-03-31 11:31:48 -07:00
parent a91cc2b7e4
commit f7de49cf41

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