summaryrefslogtreecommitdiff
path: root/integration-cli
diff options
context:
space:
mode:
Diffstat (limited to 'integration-cli')
-rw-r--r--integration-cli/docker_api_attach_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/integration-cli/docker_api_attach_test.go b/integration-cli/docker_api_attach_test.go
index 48bf47e528..7b4a1fe746 100644
--- a/integration-cli/docker_api_attach_test.go
+++ b/integration-cli/docker_api_attach_test.go
@@ -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