فهرست منبع

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,