mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
Windows: Fix TestLinksMultipleWithSameName
Signed-off-by: John Howard <jhoward@microsoft.com> Upstream-commit: 473a32ba8f2d2d97eb0b3b745392f8b567fbaa2d Component: engine
This commit is contained in:
@@ -214,6 +214,7 @@ func (s *DockerSuite) TestLinksEtcHostsRegularFile(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-b", "busybox", "top")
|
||||
dockerCmd(c, "run", "--link", "upstream-a:upstream", "--link", "upstream-b:upstream", "busybox", "sh", "-c", "ping -c 1 upstream")
|
||||
|
||||
Reference in New Issue
Block a user