mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #10999 from ahmetalpbalkan/win-cli/SameHostDaemon-skips-3
integ-cli: Skip some exec tests requiring same-host daemon
This commit is contained in:
commit
309eec2378
1 changed files with 2 additions and 0 deletions
|
@ -529,6 +529,7 @@ func TestLinksPingLinkedContainersOnRename(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestRunExecDir(t *testing.T) {
|
func TestRunExecDir(t *testing.T) {
|
||||||
|
testRequires(t, SameHostDaemon)
|
||||||
cmd := exec.Command(dockerBinary, "run", "-d", "busybox", "top")
|
cmd := exec.Command(dockerBinary, "run", "-d", "busybox", "top")
|
||||||
out, _, err := runCommandWithOutput(cmd)
|
out, _, err := runCommandWithOutput(cmd)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -629,6 +630,7 @@ func TestRunExecDir(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestRunMutableNetworkFiles(t *testing.T) {
|
func TestRunMutableNetworkFiles(t *testing.T) {
|
||||||
|
testRequires(t, SameHostDaemon)
|
||||||
defer deleteAllContainers()
|
defer deleteAllContainers()
|
||||||
|
|
||||||
for _, fn := range []string{"resolv.conf", "hosts"} {
|
for _, fn := range []string{"resolv.conf", "hosts"} {
|
||||||
|
|
Loading…
Add table
Reference in a new issue