]> Cypherpunks repositories - gostls13.git/commit
runtime: deflake TestPanicRace
authorIan Lance Taylor <iant@golang.org>
Wed, 7 Jun 2017 00:31:57 +0000 (17:31 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 7 Jun 2017 00:55:56 +0000 (00:55 +0000)
commitb5a0f7156845302040746ebcb71304f6cb03ba40
tree13eb6a6c854f796fcae0fa203f6cea6b8bdc2fd7
parent703a9baf5c210ac3955ddaa9df1efcdb2786ab1d
runtime: deflake TestPanicRace

The test is inherently racy, and for me fails about 0.05% of the time.
So only fail the test if it fails ten times in a row.

Fixes #20594

Change-Id: I3b3f7598f2196f7406f1a3937f38f21ff0c0e4b5
Reviewed-on: https://go-review.googlesource.com/45020
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/runtime/crash_test.go