diff --git a/test/e2e/util.go b/test/e2e/util.go index 7e1adc82f1c..49a7ccdaf94 100644 --- a/test/e2e/util.go +++ b/test/e2e/util.go @@ -916,6 +916,9 @@ func randomSuffix() string { } func expectNoError(err error, explain ...interface{}) { + if err != nil { + Logf("Unexpected error occurred: %v", err) + } ExpectWithOffset(1, err).NotTo(HaveOccurred(), explain...) }