Commit cd13a57b authored by Dmitriy Vyukov's avatar Dmitriy Vyukov

testing: fix bogus benchmark

Fatal must not be called from secondary goroutines.
Fixes #7401.

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/67820047
parent 5b6aaba1
...@@ -88,7 +88,6 @@ func TestRunParallelFail(t *testing.T) { ...@@ -88,7 +88,6 @@ func TestRunParallelFail(t *testing.T) {
// w/o crashing/deadlocking the whole benchmark. // w/o crashing/deadlocking the whole benchmark.
b.Log("log") b.Log("log")
b.Error("error") b.Error("error")
b.Fatal("fatal")
}) })
}) })
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment