mirror of
https://github.com/golang/go
synced 2024-10-06 08:00:07 +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:
parent
04b5d13256
commit
4b8f80707f
|
@ -368,7 +368,7 @@ func TestBogoSuite(t *testing.T) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("bogo failed: %s\n%s", err, out)
|
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
|
var results bogoResults
|
||||||
|
|
Loading…
Reference in a new issue