mirror of
https://github.com/moby/moby.git
synced 2025-08-07 02:02:57 +03:00
Make it explicit raw|multiplexed stream implementation being used
fix #35761 Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
@@ -193,6 +193,9 @@ func (s *DockerSuite) TestPostContainersAttach(c *testing.T) {
|
||||
|
||||
resp, err := client.ContainerAttach(context.Background(), cid, attachOpts)
|
||||
assert.NilError(c, err)
|
||||
mediaType, b := resp.MediaType()
|
||||
assert.Check(c, b)
|
||||
assert.Equal(c, mediaType, types.MediaTypeMultiplexedStream)
|
||||
expectSuccess(resp.Conn, resp.Reader, "stdout", false)
|
||||
|
||||
// Make sure we do see "hello" if Logs is true
|
||||
|
Reference in New Issue
Block a user