Merge pull request #19567 from Microsoft/jjh/testpsnotshowportsofstoppedcontainer

Windows: TestPsNotShowPortsOfStoppedContainer linux only
Upstream-commit: 504a8ad2954f8e28dbd556edee5cc136e1f8854c
Component: engine
This commit is contained in:
Antonio Murdaca
2016-01-22 21:53:31 +01:00

View File

@ -640,6 +640,7 @@ func (s *DockerSuite) TestPsImageIDAfterUpdate(c *check.C) {
}
func (s *DockerSuite) TestPsNotShowPortsOfStoppedContainer(c *check.C) {
testRequires(c, DaemonIsLinux)
dockerCmd(c, "run", "--name=foo", "-d", "-p", "5000:5000", "busybox", "top")
c.Assert(waitRun("foo"), checker.IsNil)
out, _ := dockerCmd(c, "ps")