mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Windows: Fix TestLinksMultipleWithSameName
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
7aef311269
commit
473a32ba8f
1 changed files with 1 additions and 0 deletions
|
@ -214,6 +214,7 @@ func (s *DockerSuite) TestLinksEtcHostsRegularFile(c *check.C) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *DockerSuite) TestLinksMultipleWithSameName(c *check.C) {
|
func (s *DockerSuite) TestLinksMultipleWithSameName(c *check.C) {
|
||||||
|
testRequires(c, DaemonIsLinux)
|
||||||
dockerCmd(c, "run", "-d", "--name=upstream-a", "busybox", "top")
|
dockerCmd(c, "run", "-d", "--name=upstream-a", "busybox", "top")
|
||||||
dockerCmd(c, "run", "-d", "--name=upstream-b", "busybox", "top")
|
dockerCmd(c, "run", "-d", "--name=upstream-b", "busybox", "top")
|
||||||
dockerCmd(c, "run", "--link", "upstream-a:upstream", "--link", "upstream-b:upstream", "busybox", "sh", "-c", "ping -c 1 upstream")
|
dockerCmd(c, "run", "--link", "upstream-a:upstream", "--link", "upstream-b:upstream", "busybox", "sh", "-c", "ping -c 1 upstream")
|
||||||
|
|
Loading…
Reference in a new issue