diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2024-01-18 02:13:12 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-18 02:13:12 +0900 |
commit | 9569999f7654dd369181f53dae5481429042dcc2 (patch) | |
tree | 58c5f46bb3c470a4d5e8c482611616130272f11c /test | |
parent | 3bbf5178a90efb036e7124a8fe7a9f4c3fc5ccc6 (diff) | |
parent | 95281fe4a954f06491c275cea2c63ab453cf9cc7 (diff) | |
download | ruby-openssl-9569999f7654dd369181f53dae5481429042dcc2.tar.gz |
Merge pull request #702 from rhenium/ky/ocsp-test-fix-random-failures
test/openssl/test_ocsp.rb: fix flaky test
Diffstat (limited to 'test')
-rw-r--r-- | test/openssl/test_ocsp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/openssl/test_ocsp.rb b/test/openssl/test_ocsp.rb index 85f13375..cf96fc22 100644 --- a/test/openssl/test_ocsp.rb +++ b/test/openssl/test_ocsp.rb @@ -228,7 +228,7 @@ class OpenSSL::TestOCSP < OpenSSL::TestCase assert_equal OpenSSL::OCSP::V_CERTSTATUS_REVOKED, single.cert_status assert_equal OpenSSL::OCSP::REVOKED_STATUS_UNSPECIFIED, single.revocation_reason assert_equal now - 400, single.revocation_time - assert_in_delta (now - 301), single.this_update, 1 + assert_in_delta (now - 300), single.this_update, 1 assert_equal nil, single.next_update assert_equal [], single.extensions |