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:
commit
504a8ad295
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) {
|
||||
testRequires(c, DaemonIsLinux)
|
||||
dockerCmd(c, "run", "--name=foo", "-d", "-p", "5000:5000", "busybox", "top")
|
||||
c.Assert(waitRun("foo"), checker.IsNil)
|
||||
out, _ := dockerCmd(c, "ps")
|
||||
|
|
Loading…
Reference in a new issue