mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Windows: TestPsNotShowPortsOfStoppedContainer linux only
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
9ae51b3e0f
commit
845dc1b24c
1 changed files with 1 additions and 0 deletions
|
@ -640,6 +640,7 @@ func (s *DockerSuite) TestPsImageIDAfterUpdate(c *check.C) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *DockerSuite) TestPsNotShowPortsOfStoppedContainer(c *check.C) {
|
func (s *DockerSuite) TestPsNotShowPortsOfStoppedContainer(c *check.C) {
|
||||||
|
testRequires(c, DaemonIsLinux)
|
||||||
dockerCmd(c, "run", "--name=foo", "-d", "-p", "5000:5000", "busybox", "top")
|
dockerCmd(c, "run", "--name=foo", "-d", "-p", "5000:5000", "busybox", "top")
|
||||||
c.Assert(waitRun("foo"), checker.IsNil)
|
c.Assert(waitRun("foo"), checker.IsNil)
|
||||||
out, _ := dockerCmd(c, "ps")
|
out, _ := dockerCmd(c, "ps")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue