mirror of https://github.com/docker/docs.git
Merge pull request #12029 from unclejack/testpsgroupportrange_fast
integration-cli: make TestPsGroupPortRange fast
This commit is contained in:
commit
ccfbe880c8
|
@ -638,7 +638,7 @@ func TestPsLinkedWithNoTrunc(t *testing.T) {
|
||||||
func TestPsGroupPortRange(t *testing.T) {
|
func TestPsGroupPortRange(t *testing.T) {
|
||||||
defer deleteAllContainers()
|
defer deleteAllContainers()
|
||||||
|
|
||||||
portRange := "3300-3900"
|
portRange := "3800-3900"
|
||||||
out, _, err := runCommandWithOutput(exec.Command(dockerBinary, "run", "-d", "--name", "porttest", "-p", portRange+":"+portRange, "busybox", "top"))
|
out, _, err := runCommandWithOutput(exec.Command(dockerBinary, "run", "-d", "--name", "porttest", "-p", portRange+":"+portRange, "busybox", "top"))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(out, err)
|
t.Fatal(out, err)
|
||||||
|
|
Loading…
Reference in New Issue