Преглед на файлове

in the tests, use a non-default value for cpu.shares

Jérôme Petazzoni преди 12 години
родител
ревизия
af9f559f2e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      commands_test.go

+ 1 - 1
commands_test.go

@@ -413,7 +413,7 @@ func TestAttachDisconnect(t *testing.T) {
 	container, err := NewBuilder(runtime).Create(
 		&Config{
 			Image:     GetTestImage(runtime).Id,
-			CpuShares: 1024,
+			CpuShares: 1000,
 			Memory:    33554432,
 			Cmd:       []string{"/bin/cat"},
 			OpenStdin: true,