| ... | ... |
@@ -267,6 +267,8 @@ 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 | 272 |
} |
| 271 | 273 |
|
| 272 | 274 |
func TestRun(t *testing.T) {
|