Fix deadlock in TestContainerExec if process.Wait()
fails
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
parent
d4e780d71f
commit
5ea5fbdfc5
@ -292,7 +292,6 @@ func TestContainerExec(t *testing.T) {
|
|||||||
status, err := process.Wait(ctx)
|
status, err := process.Wait(ctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Error(err)
|
t.Error(err)
|
||||||
return
|
|
||||||
}
|
}
|
||||||
processStatusC <- status
|
processStatusC <- status
|
||||||
}()
|
}()
|
||||||
|
Loading…
Reference in New Issue
Block a user