diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2015-05-07 12:33:45 +0300 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2015-06-24 17:53:25 +0000 |
| commit | 77082481d48c8cd8ea93328f9ab962092fe0183f (patch) | |
| tree | c736ed0222ca8d211968cb26578f2d6e6ba8897d /src/runtime/sys_linux_amd64.s | |
| parent | 703166ea14e510a4aee805f956475570130f2df2 (diff) | |
| download | go-77082481d48c8cd8ea93328f9ab962092fe0183f.tar.xz | |
runtime/race: make test more robust
The test is flaky on builders lately. I don't see any issues other than
usage of very small sleeps. So increase the sleeps. Also take opportunity
to refactor the code.
On my machine this change significantly reduces failure rate with GOMAXPROCS=2.
I can't reproduce the failure with GOMAXPROCS=1.
Fixes #10726
Change-Id: Iea6f10cf3ce1be5c112a2375d51c13687a8ab4c9
Reviewed-on: https://go-review.googlesource.com/9803
Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime/sys_linux_amd64.s')
0 files changed, 0 insertions, 0 deletions
