1
0
mirror of https://github.com/docker/cli.git synced 2026-01-15 07:40:57 +03:00

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

Fix flaky TestGetContainersAttachWebsocket
Upstream-commit: dd94c88376560e2690ac21058c566adae4251bb8
Component: engine
This commit is contained in:
Aaron Lehmann
2016-03-31 14:03:58 -07:00

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