Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http/pprof: occasional failures in TestDeltaProfile #38544
(Perhaps it is relying on some property of scheduler latency that does not hold on the very slowest builders?)
Marking as release-blocker for 1.15 since the test appears to be new for that release.
Is there a reason to suspect that it is not flaky on Linux?
(In my experience, the unusual builders are often just more timing-sensitive than the mainline builders — tests that are flaky on more than one of those platforms also tend to be flaky on
In some slow environment, the goroutine for mutexHog2 may not run within 1secs. So, try with increasing seconds parameters, and declare failure if it still fails with the longest duration parameter (32sec). Also, relax the test condition - previously we expected the profile's duration is within 0.5~2sec. But obviously, in some slow environment, that's not even guaranteed. Just check we get non-zero duration in the result. Update #38544 Change-Id: Ia9b0d51429a2093e6c9eb92cf463ff6952ef3e10 Reviewed-on: https://go-review.googlesource.com/c/go/+/229498 Run-TryBot: Hyang-Ah Hana Kim <email@example.com> Reviewed-by: Ian Lance Taylor <firstname.lastname@example.org>
Still appears to be flaky, but removing the