An error occurred fetching the project authors.
  1. 26 Jul, 2015 2 commits
    • Austin Clements's avatar
      internal/singleflight: deflake TestDoDupSuppress · e3ba0977
      Austin Clements authored
      Currently TestDoDupSuppress can fail if the goroutines created by its
      loop run sequentially. This is rare, but it has caused failures on the
      dashboard and in stress testing.
      
      While I think there's no way to eliminate all possible thread
      schedules that could make this test fail because it depends on waiting
      until a Group.Do blocks, it is possible to make it much more robust.
      
      This commit deflakes this test by forcing at least one invocation of
      fn to start and all goroutines to reach the line just before the Do
      call before allowing fn to proceed. fn then waits 10 milliseconds
      before returning to allow the goroutines to pass through the Do.
      
      With this change, in 50,000 runs of the stress testing configuration,
      the number of calls to fn never even exceeded 1.
      
      Fixes #11784.
      
      Change-Id: Ie5adf5764545050ec407619769a656251c4cff04
      Reviewed-on: https://go-review.googlesource.com/12681Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
      e3ba0977
    • Jeff R. Allen's avatar
      crypt/rand: update docs for Linux · 9b7e728e
      Jeff R. Allen authored
      Update the docs to explain the code added in
      commit 67e1d400.
      
      Fixes #11831.
      
      Change-Id: I8fe72e449507847c4bd9d77de40947ded7f2ff9d
      Reviewed-on: https://go-review.googlesource.com/12515Reviewed-by: default avatarDave Cheney <dave@cheney.net>
      9b7e728e
  2. 24 Jul, 2015 4 commits
  3. 23 Jul, 2015 16 commits
  4. 22 Jul, 2015 18 commits