diff options
author | Kazuki Yamaguchi <[email protected]> | 2023-11-25 21:30:09 +0900 |
---|---|---|
committer | git <[email protected]> | 2024-01-17 17:13:16 +0000 |
commit | e1751b2ec8ddc3a423446b68109114da740f0439 (patch) | |
tree | 78b04bff25f7e1baa46530a7f680967dd2ab003d /test/openssl | |
parent | 4f634d3c85ca45b5995c1f37619784c99f2be62c (diff) |
[ruby/openssl] test/openssl/test_ocsp.rb: fix flaky test
Fixes: https://github.com/ruby/openssl/issues/695
https://github.com/ruby/openssl/commit/95281fe4a9
Diffstat (limited to 'test/openssl')
-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 85f133752c..cf96fc22e5 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 |