Fix flaky race test
ignoredError.err
was being used in a Goroutine handler, but the
value of ignoredError
changes with each test case. To avoid a race,
make a local copy of the error before each Goroutine runs.
Closes #590 (closed)
ignoredError.err
was being used in a Goroutine handler, but the
value of ignoredError
changes with each test case. To avoid a race,
make a local copy of the error before each Goroutine runs.
Closes #590 (closed)