]> Cypherpunks repositories - gostls13.git/commit
runtime: skip TestPingPongHog in race mode
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 6 Apr 2020 16:07:03 +0000 (09:07 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Wed, 8 Apr 2020 16:40:46 +0000 (16:40 +0000)
commit97711bfd60575b2f51e212b0b5181729597e9091
treee6cdf498ab367d542bba6e91839a67480ce466ab
parent4874835232322713f23d2f10c083ae6fa893868b
runtime: skip TestPingPongHog in race mode

TestPingPongHog tests properties of the scheduler.
But the race detector intentionally does randomized scheduling,
so the test is not applicable.

Fixes #38266

Change-Id: Ib06aa317b2776cb1faa641c4e038e2599cf70b2d
Reviewed-on: https://go-review.googlesource.com/c/go/+/227344
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/proc_test.go