mirror of https://github.com/docker/docs.git
Merge pull request #22785 from runcom/fix-flaky-network
TestPsGroupPortRange: allocate less ports
This commit is contained in:
commit
cbc404a083
|
@ -501,7 +501,7 @@ func (s *DockerSuite) TestPsLinkedWithNoTrunc(c *check.C) {
|
||||||
func (s *DockerSuite) TestPsGroupPortRange(c *check.C) {
|
func (s *DockerSuite) TestPsGroupPortRange(c *check.C) {
|
||||||
// Problematic on Windows as it doesn't support port ranges as of Jan 2016
|
// Problematic on Windows as it doesn't support port ranges as of Jan 2016
|
||||||
testRequires(c, DaemonIsLinux)
|
testRequires(c, DaemonIsLinux)
|
||||||
portRange := "3800-3900"
|
portRange := "3850-3900"
|
||||||
dockerCmd(c, "run", "-d", "--name", "porttest", "-p", portRange+":"+portRange, "busybox", "top")
|
dockerCmd(c, "run", "-d", "--name", "porttest", "-p", portRange+":"+portRange, "busybox", "top")
|
||||||
|
|
||||||
out, _ := dockerCmd(c, "ps")
|
out, _ := dockerCmd(c, "ps")
|
||||||
|
|
Loading…
Reference in New Issue