From 5ea5fbdfc557ed74b6aac1d1daae7496f41c03d1 Mon Sep 17 00:00:00 2001 From: Kenfe-Mickael Laventure Date: Thu, 20 Jul 2017 09:34:34 +0200 Subject: [PATCH] Fix deadlock in TestContainerExec if `process.Wait()` fails Signed-off-by: Kenfe-Mickael Laventure --- container_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/container_test.go b/container_test.go index d78650efe..a285ef4f5 100644 --- a/container_test.go +++ b/container_test.go @@ -292,7 +292,6 @@ func TestContainerExec(t *testing.T) { status, err := process.Wait(ctx) if err != nil { t.Error(err) - return } processStatusC <- status }()