From e1751b2ec8ddc3a423446b68109114da740f0439 Mon Sep 17 00:00:00 2001 From: Kazuki Yamaguchi Date: Sat, 25 Nov 2023 21:30:09 +0900 Subject: [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 --- test/openssl/test_ocsp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/openssl') 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 -- cgit v1.2.3