summaryrefslogtreecommitdiff
path: root/test/openssl
diff options
context:
space:
mode:
authorKazuki Yamaguchi <[email protected]>2023-11-25 21:30:09 +0900
committergit <[email protected]>2024-01-17 17:13:16 +0000
commite1751b2ec8ddc3a423446b68109114da740f0439 (patch)
tree78b04bff25f7e1baa46530a7f680967dd2ab003d /test/openssl
parent4f634d3c85ca45b5995c1f37619784c99f2be62c (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.rb2
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