1
0
mirror of https://github.com/golang/go synced 2024-07-08 12:18:55 +00:00

crypto/tls: improve error log produced during TestBogoSuite

The existing implementation logs some errors to the results file created in TestBogoSuite.
This change would additionally log json errors to the results file.

Change-Id: Ib1a6f612ed83f6c5046531ee259c4e85dd71402a
Reviewed-on: https://go-review.googlesource.com/c/go/+/591379
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Auto-Submit: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
Clide Stefani 2024-06-07 16:37:13 -04:00 committed by Gopher Robot
parent 04b5d13256
commit 4b8f80707f

View File

@ -368,7 +368,7 @@ func TestBogoSuite(t *testing.T) {
if err != nil {
t.Fatalf("bogo failed: %s\n%s", err, out)
}
t.Fatalf("failed to read results JSON file: %s", err)
t.Fatalf("failed to read results JSON file: %s", jsonErr)
}
var results bogoResults