| ... | ... |
@@ -22,9 +22,8 @@ func TestIdFormat(t *testing.T) {
|
| 22 | 22 |
defer nuke(runtime) |
| 23 | 23 |
container1, err := runtime.Create( |
| 24 | 24 |
&Config{
|
| 25 |
- Image: GetTestImage(runtime).Id, |
|
| 26 |
- Cmd: []string{"/bin/sh", "-c", "echo hello world"},
|
|
| 27 |
- Memory: 33554432, |
|
| 25 |
+ Image: GetTestImage(runtime).Id, |
|
| 26 |
+ Cmd: []string{"/bin/sh", "-c", "echo hello world"},
|
|
| 28 | 27 |
}, |
| 29 | 28 |
) |
| 30 | 29 |
if err != nil {
|
| ... | ... |
@@ -50,7 +49,6 @@ func TestMultipleAttachRestart(t *testing.T) {
|
| 50 | 50 |
Image: GetTestImage(runtime).Id, |
| 51 | 51 |
Cmd: []string{"/bin/sh", "-c",
|
| 52 | 52 |
"i=1; while [ $i -le 5 ]; do i=`expr $i + 1`; echo hello; done"}, |
| 53 |
- Memory: 33554432, |
|
| 54 | 53 |
}, |
| 55 | 54 |
) |
| 56 | 55 |
if err != nil {
|
| ... | ... |
@@ -227,9 +225,8 @@ func TestCommitRun(t *testing.T) {
|
| 227 | 227 |
defer nuke(runtime) |
| 228 | 228 |
container1, err := runtime.Create( |
| 229 | 229 |
&Config{
|
| 230 |
- Image: GetTestImage(runtime).Id, |
|
| 231 |
- Cmd: []string{"/bin/sh", "-c", "echo hello > /world"},
|
|
| 232 |
- Memory: 33554432, |
|
| 230 |
+ Image: GetTestImage(runtime).Id, |
|
| 231 |
+ Cmd: []string{"/bin/sh", "-c", "echo hello > /world"},
|
|
| 233 | 232 |
}, |
| 234 | 233 |
) |
| 235 | 234 |
if err != nil {
|
| ... | ... |
@@ -260,9 +257,8 @@ func TestCommitRun(t *testing.T) {
|
| 260 | 260 |
|
| 261 | 261 |
container2, err := runtime.Create( |
| 262 | 262 |
&Config{
|
| 263 |
- Image: img.Id, |
|
| 264 |
- Memory: 33554432, |
|
| 265 |
- Cmd: []string{"cat", "/world"},
|
|
| 263 |
+ Image: img.Id, |
|
| 264 |
+ Cmd: []string{"cat", "/world"},
|
|
| 266 | 265 |
}, |
| 267 | 266 |
) |
| 268 | 267 |
if err != nil {
|
| ... | ... |
@@ -347,9 +343,8 @@ func TestRun(t *testing.T) {
|
| 347 | 347 |
defer nuke(runtime) |
| 348 | 348 |
container, err := runtime.Create( |
| 349 | 349 |
&Config{
|
| 350 |
- Image: GetTestImage(runtime).Id, |
|
| 351 |
- Memory: 33554432, |
|
| 352 |
- Cmd: []string{"ls", "-al"},
|
|
| 350 |
+ Image: GetTestImage(runtime).Id, |
|
| 351 |
+ Cmd: []string{"ls", "-al"},
|
|
| 353 | 352 |
}, |
| 354 | 353 |
) |
| 355 | 354 |
if err != nil {
|