1
0
mirror of https://github.com/docker/cli.git synced 2026-01-13 18:22:35 +03:00

Skip new ulimits test on lxc

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
Upstream-commit: 80d585b0c7f3b48e6d2342d63f9e5b41cd3c3fdb
Component: engine
This commit is contained in:
Jessica Frazelle
2015-03-04 07:10:56 -08:00
parent 031bee35d5
commit 24ea69329f
2 changed files with 2 additions and 0 deletions

View File

@@ -482,6 +482,7 @@ func TestDaemonUpgradeWithVolumes(t *testing.T) {
}
func TestDaemonUlimitDefaults(t *testing.T) {
testRequires(t, NativeExecDriver)
d := NewDaemon(t)
if err := d.StartWithBusybox("--default-ulimit", "nofile=42:42", "--default-ulimit", "nproc=1024:1024"); err != nil {

View File

@@ -93,6 +93,7 @@ func TestRunWithVolumesIsRecursive(t *testing.T) {
}
func TestRunWithUlimits(t *testing.T) {
testRequires(t, NativeExecDriver)
defer deleteAllContainers()
out, _, err := runCommandWithOutput(exec.Command(dockerBinary, "run", "--name=testulimits", "--ulimit", "nofile=42", "busybox", "/bin/sh", "-c", "ulimit -n"))
if err != nil {