Commit 1deae0b
Bryan C. Mills
os: invoke processKiller synchronously in testKillProcess
Previously, testKillProcess needlessly invoked processKiller in a
separate goroutine and failed to wait for that goroutine to complete,
causing the calls to t.Fatalf in that goroutine to potentially occur
after the test function had already returned.
Fixes golang#43722
Change-Id: I5d03cb24af51bb73f0ff96419dac57ec39776967
Reviewed-on: https://go-review.googlesource.com/c/go/+/284153
Trust: Bryan C. Mills <bcmills@google.com>
Trust: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com>
TryBot-Result: Go Bot <gobot@golang.org>1 parent ff196c3 commit 1deae0b
1 file changed
+9
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2298 | 2298 | | |
2299 | 2299 | | |
2300 | 2300 | | |
| 2301 | + | |
2301 | 2302 | | |
2302 | 2303 | | |
2303 | 2304 | | |
2304 | 2305 | | |
2305 | 2306 | | |
2306 | 2307 | | |
2307 | 2308 | | |
2308 | | - | |
2309 | | - | |
2310 | | - | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
| 2313 | + | |
2311 | 2314 | | |
2312 | | - | |
2313 | | - | |
2314 | | - | |
2315 | | - | |
| 2315 | + | |
| 2316 | + | |
| 2317 | + | |
2316 | 2318 | | |
2317 | 2319 | | |
2318 | 2320 | | |
| |||
0 commit comments