• Rob Pike's avatar
    time: avoid broken fix for buggy TestOverflowRuntimeTimer · 83c81406
    Rob Pike authored
    The test requires that timerproc runs, but busy loops and starves
    the scheduler so that, with high probability, timerproc doesn't run.
    Avoid the issue by expecting the test to succeed; if not, a major
    outside timeout will kill it and let us know.
    
    As you can see from the diffs, there have been several attempts to
    fix this with chicanery, but none has worked. Don't bother trying
    any more.
    
    Fixes #8136.
    
    LGTM=rsc
    R=rsc, josharian
    CC=golang-codereviews
    https://golang.org/cl/105140043
    83c81406
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...