mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Increase the timeout of TestRestore() to avoid unwanted timeout error
This commit is contained in:
parent
cda9cf1539
commit
bae6f95830
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ func TestRestore(t *testing.T) {
|
|||
// Simulate a crash/manual quit of dockerd: process dies, states stays 'Running'
|
||||
cStdin, _ := container2.StdinPipe()
|
||||
cStdin.Close()
|
||||
if err := container2.WaitTimeout(time.Second); err != nil {
|
||||
if err := container2.WaitTimeout(2 * time.Second); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
container2.State.Running = true
|
||||
|
|
Loading…
Reference in a new issue