Commit 4888781f authored by Mikio Hara's avatar Mikio Hara

runtime: fix flakiness on futexsleep test

Fixes #7496.

LGTM=jsing
R=golang-codereviews, jsing
CC=golang-codereviews
https://golang.org/cl/72840043
parent 4c75cab6
......@@ -35,6 +35,12 @@ const (
)
func TestFutexsleep(t *testing.T) {
if runtime.GOMAXPROCS(0) > 1 {
// futexsleep doesn't handle EINTR or other signals,
// so spurious wakeups may happen.
t.Skip("skipping; GOMAXPROCS>1")
}
start := time.Now()
for _, tt := range futexsleepTests {
go func(tt futexsleepTest) {
......
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