• Josh Bleecher Snyder's avatar
    test: make maplinear iterdelete test less flaky · f197988c
    Josh Bleecher Snyder authored
    iterdelete's run time varies; occasionally we get unlucky. To reduce spurious failures, average away some of the variation.
    
    On my machine, 8 of 5000 runs (0.15%) failed before this CL. After this CL, there were no failures after 35,000 runs.
    
    I confirmed that this adjusted test still fails before CL 141270043.
    
    LGTM=khr
    R=khr
    CC=bradfitz, golang-codereviews
    https://golang.org/cl/140610043
    f197988c
maplinear.go 3.28 KB