1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #19567 from Microsoft/jjh/testpsnotshowportsofstoppedcontainer

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

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")