]> Cypherpunks repositories - gostls13.git/commit
time: only fail TestAfterStop if it fails five times in a row
authorIan Lance Taylor <iant@golang.org>
Fri, 15 Nov 2019 21:03:40 +0000 (13:03 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 15 Nov 2019 22:34:22 +0000 (22:34 +0000)
commitdab1a10a98e376502e0ab5dfb6d2ab82394c19b6
tree5ced89b5272500af2c23a2704bdcfe2b7fe22e89
parentacb9ac07511e881b20727526e34351d9ef68b726
time: only fail TestAfterStop if it fails five times in a row

The test is inherently slightly flaky, so repeat to reduce flakiness.

Fixes #35537

Change-Id: Id918d48d33c7d5e19c4f24df104adc7fbf3720f2
Reviewed-on: https://go-review.googlesource.com/c/go/+/207457
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/time/sleep_test.go