]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/race: allow TestFail to run longer than 0.00s
authorAlex Brainman <alex.brainman@gmail.com>
Sun, 6 Nov 2016 07:43:49 +0000 (18:43 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Mon, 7 Nov 2016 02:55:52 +0000 (02:55 +0000)
Fixes #17811

Change-Id: I7bf9cbc5245417047ad28a14d9b9ad6592607d3d
Reviewed-on: https://go-review.googlesource.com/32774
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/runtime/race/output_test.go

index 2a2e3b79e51e12936cae123d405da9fc6aab4f0d..587540f5e86ffdd609b53d5051c54187c090947e 100644 (file)
@@ -184,7 +184,7 @@ func TestFail(t *testing.T) {
 }
 `, `
 ==================
---- FAIL: TestFail \(0.00s\)
+--- FAIL: TestFail \(0...s\)
 .*testing.go:.*: race detected during execution of test
 FAIL`},