From c602c59004455ede4f6831598049a3cd2e5da1e8 Mon Sep 17 00:00:00 2001 From: David Gageot Date: Thu, 26 Mar 2020 12:01:07 +0100 Subject: [PATCH] Wait for the logs to be printed Previous fix removed the wc.Wait() by error Signed-off-by: David Gageot --- hack/tests/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/hack/tests/main.go b/hack/tests/main.go index 3ef3799ff1c..3e1b542b038 100644 --- a/hack/tests/main.go +++ b/hack/tests/main.go @@ -123,6 +123,7 @@ func goTest(testArgs []string) error { } else { pr.Close() } + wc.Wait() return err }