Bläddra i källkod

Merge pull request #10999 from ahmetalpbalkan/win-cli/SameHostDaemon-skips-3

integ-cli: Skip some exec tests requiring same-host daemon
Alexander Morozov 10 år sedan
förälder
incheckning
309eec2378
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      integration-cli/docker_cli_exec_test.go

+ 2 - 0
integration-cli/docker_cli_exec_test.go

@@ -529,6 +529,7 @@ func TestLinksPingLinkedContainersOnRename(t *testing.T) {
 }
 
 func TestRunExecDir(t *testing.T) {
+	testRequires(t, SameHostDaemon)
 	cmd := exec.Command(dockerBinary, "run", "-d", "busybox", "top")
 	out, _, err := runCommandWithOutput(cmd)
 	if err != nil {
@@ -629,6 +630,7 @@ func TestRunExecDir(t *testing.T) {
 }
 
 func TestRunMutableNetworkFiles(t *testing.T) {
+	testRequires(t, SameHostDaemon)
 	defer deleteAllContainers()
 
 	for _, fn := range []string{"resolv.conf", "hosts"} {