mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Remove unecessary memeory limit within tests
This commit is contained in:
parent
c45beabcd5
commit
6ebb249131
1 changed files with 8 additions and 13 deletions
|
@ -24,7 +24,6 @@ func TestIdFormat(t *testing.T) {
|
|||
&Config{
|
||||
Image: GetTestImage(runtime).Id,
|
||||
Cmd: []string{"/bin/sh", "-c", "echo hello world"},
|
||||
Memory: 33554432,
|
||||
},
|
||||
)
|
||||
if err != nil {
|
||||
|
@ -50,7 +49,6 @@ func TestMultipleAttachRestart(t *testing.T) {
|
|||
Image: GetTestImage(runtime).Id,
|
||||
Cmd: []string{"/bin/sh", "-c",
|
||||
"i=1; while [ $i -le 5 ]; do i=`expr $i + 1`; echo hello; done"},
|
||||
Memory: 33554432,
|
||||
},
|
||||
)
|
||||
if err != nil {
|
||||
|
@ -229,7 +227,6 @@ func TestCommitRun(t *testing.T) {
|
|||
&Config{
|
||||
Image: GetTestImage(runtime).Id,
|
||||
Cmd: []string{"/bin/sh", "-c", "echo hello > /world"},
|
||||
Memory: 33554432,
|
||||
},
|
||||
)
|
||||
if err != nil {
|
||||
|
@ -261,7 +258,6 @@ func TestCommitRun(t *testing.T) {
|
|||
container2, err := runtime.Create(
|
||||
&Config{
|
||||
Image: img.Id,
|
||||
Memory: 33554432,
|
||||
Cmd: []string{"cat", "/world"},
|
||||
},
|
||||
)
|
||||
|
@ -348,7 +344,6 @@ func TestRun(t *testing.T) {
|
|||
container, err := runtime.Create(
|
||||
&Config{
|
||||
Image: GetTestImage(runtime).Id,
|
||||
Memory: 33554432,
|
||||
Cmd: []string{"ls", "-al"},
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue