aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing.go
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2021-11-22 12:20:26 -0500
committerBryan C. Mills <bcmills@google.com>2021-11-22 18:57:33 +0000
commit5a3d871831c9febebe513863a26ecc6da1c9c4f3 (patch)
treef4b1c00cd26cdc712b000ea586c73a21c4558ff5 /src/testing/testing.go
parent2d7ae3fbd86d4b5471ac4044ece208b29cd0ef74 (diff)
downloadgo-5a3d871831c9febebe513863a26ecc6da1c9c4f3.tar.xz
net: allow more generous slop in Fluctuation tests
It appears that at least the OpenBSD kernel gets sloppier the longer the timeout we give it, up to an observed overhead of around 25%. Let's give it a little more than that (33%) in the comparison, and also increase the growth curve to match the actual observed times instead of exponential initial growth. Fixes #36108 Change-Id: Id3e54559b7c45b7c8bc0ca07dce74ca60e77e7ed Reviewed-on: https://go-review.googlesource.com/c/go/+/366176 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/testing/testing.go')
0 files changed, 0 insertions, 0 deletions