commit | dd96d35c1b251a7ef77f057fc5c4f92ea2b285b4 | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@golang.org> | Thu Feb 09 10:56:04 2017 -0800 |
committer | Adam Langley <agl@golang.org> | Thu Feb 09 19:00:49 2017 +0000 |
tree | be275ab2abffdefca8fdc2611fbf5de08b577eed | |
parent | 92783773f0d5c65e68a806909423bea53c78df01 [diff] |
ocsp: fix test flakiness The test was assuming that the OCSP creation wouldn't cross a minute boundary, which is flakey nonsense. Instead assert that the timestamp in the OCSP response is within an hour of when we check it. Change-Id: I3c822b738e9b04385319eb29a1cd275dc2ed112e Reviewed-on: https://go-review.googlesource.com/36648 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>