1
0
mirror of https://github.com/golang/go synced 2024-11-06 07:26:10 -07:00
go/src/image
Bryan C. Mills 85486bcccb image/jpeg: increase TestLargeImageWithShortData timeout by an order of magnitude
Also dump goroutines on failure.

The original bug report in #10413 reported a hang of “several
minutes”. An apparently-spurious failure was observed in
https://build.golang.org/log/e5ac3ce3fb7d04ec13e5bbfadea8bb5869a4dd1e,
with a delay of only 3.64s.

Moreover, if the test does fail due to a regression, we will want a
goroutine dump to diagnose where it got stuck. The current call to
t.Fatalf does not produce such a dump, so is not nearly as useful if
the failure only occasionally reproduces.

Updates #10413.

Change-Id: I6ab9d112f14f438a0c54e02ec95934627acdc64b
Reviewed-on: https://go-review.googlesource.com/c/go/+/408355
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Yuval Pavel Zholkover <paulzhol@gmail.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-07-12 21:23:11 +00:00
..
color all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
draw image/draw: have draw.Src preserve NRGBA colors 2022-04-07 10:41:34 +00:00
gif all: fix spelling 2022-05-17 21:46:33 +00:00
internal/imageutil all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor) 2021-10-28 18:17:57 +00:00
jpeg image/jpeg: increase TestLargeImageWithShortData timeout by an order of magnitude 2022-07-12 21:23:11 +00:00
png all: gofmt main repo 2022-04-11 16:34:30 +00:00
testdata
decode_example_test.go
decode_test.go
format.go
geom_test.go
geom.go
image_test.go
image.go all: gofmt main repo 2022-04-11 16:34:30 +00:00
names.go
ycbcr_test.go
ycbcr.go all: gofmt main repo 2022-04-11 16:34:30 +00:00