Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
| ... | ... |
@@ -482,6 +482,7 @@ func TestDaemonUpgradeWithVolumes(t *testing.T) {
|
| 482 | 482 |
} |
| 483 | 483 |
|
| 484 | 484 |
func TestDaemonUlimitDefaults(t *testing.T) {
|
| 485 |
+ testRequires(t, NativeExecDriver) |
|
| 485 | 486 |
d := NewDaemon(t) |
| 486 | 487 |
|
| 487 | 488 |
if err := d.StartWithBusybox("--default-ulimit", "nofile=42:42", "--default-ulimit", "nproc=1024:1024"); err != nil {
|
| ... | ... |
@@ -93,6 +93,7 @@ func TestRunWithVolumesIsRecursive(t *testing.T) {
|
| 93 | 93 |
} |
| 94 | 94 |
|
| 95 | 95 |
func TestRunWithUlimits(t *testing.T) {
|
| 96 |
+ testRequires(t, NativeExecDriver) |
|
| 96 | 97 |
defer deleteAllContainers() |
| 97 | 98 |
out, _, err := runCommandWithOutput(exec.Command(dockerBinary, "run", "--name=testulimits", "--ulimit", "nofile=42", "busybox", "/bin/sh", "-c", "ulimit -n")) |
| 98 | 99 |
if err != nil {
|