1. 18 Nov, 2016 1 commit
    • Eric Chiang's avatar
      server: fix expiry test flake · 5c602d36
      Eric Chiang authored
      Ensure compared times are within a second of one another instead of
      rounding, which can flake if the two times are different enough to
      do round to different values.
      
      Tested using the golang.org/x/tools/cmd/stress tool.
      
      The following set of commands fail without this patch:
      
          $ go get golang.org/x/tools/cmd/stress
          $ go test -o server.test github.com/coreos/dex/server
          $ stress ./server.test -test.run=TestOAuth2CodeFlow
          219 runs so far, 0 failures
          425 runs so far, 0 failures
          618 runs so far, 0 failures
          802 runs so far, 0 failures
          ^C
      
      Closes #699
      5c602d36
  2. 17 Nov, 2016 3 commits
  3. 16 Nov, 2016 2 commits
  4. 15 Nov, 2016 7 commits
  5. 14 Nov, 2016 2 commits
  6. 11 Nov, 2016 2 commits
  7. 09 Nov, 2016 2 commits
  8. 08 Nov, 2016 5 commits
  9. 06 Nov, 2016 1 commit
  10. 05 Nov, 2016 3 commits
  11. 04 Nov, 2016 6 commits
  12. 03 Nov, 2016 6 commits