... | ... |
@@ -267,8 +267,7 @@ func TestStart(t *testing.T) { |
267 | 267 |
// Try to avoid the timeoout in destroy. Best effort, don't check error |
268 | 268 |
cStdin, _ := container.StdinPipe() |
269 | 269 |
cStdin.Close() |
270 |
- container.WaitTimeout(500 * time.Millisecond) |
|
271 |
- container.State.setStopped(0) |
|
270 |
+ container.WaitTimeout(2 * time.Second) |
|
272 | 271 |
} |
273 | 272 |
|
274 | 273 |
func TestRun(t *testing.T) { |