Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
sync: TestWaitGroupMisuse2 takes 45-90 seconds on netbsd, AIX #22944
NetBSD nanosleep() always sleeps for at least 1 schedule slice when the specified time is under the schedule resolution. With default HZ value of 100 for i386 and amd64, it's always at least 10ms even when the specified time is smaller. I think other systems might work similar way.
changed the title
sync: TestWaitGroupMisuse2 takes 45-90 seconds on netbsd w/ 8 cores
May 29, 2019
It takes 45 seconds on AIX too, and never panics as it expects to:
I was already aware about this failure. But I didn't find anything relevant.
Edit: as NetBSD, it might be related to AIX scheduler: