[D-runtime] OS X unittest failure in core.sync.semaphore
Michel Fortin
michel.fortin at michelf.com
Mon Jan 31 14:33:55 PST 2011
Le 2011-01-31 à 15:13, Sean Kelly a écrit :
> The testWaitTimeout unittest is a bit of a hack in that it requires a signal to be sent from the main thread to a spawned thread within 100 milliseconds of an event occurring. I chose this number based on experimentation, as I wanted it short enough not to hang up the unittest run for too long, but long enough that the test worked. It appears that I left a bit too thin of a margin for your system. I've increased the number to 200 milliseconds. Hopefully that will be enough. I'll check in the fix with the changes for issue 5488.
Changing both timeout values to 200 ms makes the test succeed. Thanks.
--
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/
More information about the D-runtime
mailing list