mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Fix flaky TestGetContainersAttachWebsocket
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
@@ -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)
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user