Fix deadlock in TestContainerExec if process.Wait() fails

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
Kenfe-Mickael Laventure 2017-07-20 09:34:34 +02:00
parent d4e780d71f
commit 5ea5fbdfc5
No known key found for this signature in database
GPG Key ID: 40CF16616B361216

View File

@ -292,7 +292,6 @@ func TestContainerExec(t *testing.T) {
status, err := process.Wait(ctx)
if err != nil {
t.Error(err)
return
}
processStatusC <- status
}()