This repository has been archived on 2023-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
dex/server
Eric Chiang 5c602d36d9 server: fix expiry test flake
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
2016-11-18 13:47:16 -08:00
..
2016-07-26 15:51:24 -07:00
2016-10-13 18:15:20 -07:00
2016-07-26 15:51:24 -07:00
2016-10-12 15:37:12 -07:00
2016-07-26 15:51:24 -07:00
2016-11-18 13:47:16 -08:00