Skip to content

Commit 781cd7a

Browse files
committed
Don't panic when PrintSummary fails
Signed-off-by: Todd Short <todd.short@me.com>
1 parent 302da9e commit 781cd7a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

test/e2e/e2e_suite_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package e2e
22

33
import (
44
"context"
5+
"fmt"
56
"os"
67
"testing"
78

@@ -42,7 +43,9 @@ func TestMain(m *testing.M) {
4243

4344
res := m.Run()
4445
err = utils.PrintSummary(testSummaryOutputEnvVar)
45-
utilruntime.Must(err)
46+
if err != nil {
47+
fmt.Println("PrintSummary error", err)
48+
}
4649
os.Exit(res)
4750
}
4851

0 commit comments

Comments
 (0)