• Russ Cox's avatar
    sync: give finalizers more time in TestPoolGC · e721778f
    Russ Cox authored
    If we report a leak, make sure we've waited long enough to be sure.
    The new sleep regimen waits 1.05 seconds before failing; the old
    one waited 0.005 seconds.
    
    (The single linux/amd64 failure in this test feels more like a
    timing problem than a leak. I don't want to spend time on it unless
    we're sure.)
    
    LGTM=bradfitz
    R=bradfitz
    CC=golang-codereviews
    https://golang.org/cl/72630043
    e721778f
Name
Last commit
Last update
..
atomic Loading commit data...
cond.go Loading commit data...
cond_test.go Loading commit data...
example_test.go Loading commit data...
export_test.go Loading commit data...
mutex.go Loading commit data...
mutex_test.go Loading commit data...
once.go Loading commit data...
once_test.go Loading commit data...
pool.go Loading commit data...
pool_test.go Loading commit data...
race.go Loading commit data...
race0.go Loading commit data...
runtime.go Loading commit data...
runtime_sema_test.go Loading commit data...
rwmutex.go Loading commit data...
rwmutex_test.go Loading commit data...
waitgroup.go Loading commit data...
waitgroup_test.go Loading commit data...