From 95281fe4a954f06491c275cea2c63ab453cf9cc7 Mon Sep 17 00:00:00 2001 From: Kazuki Yamaguchi Date: Sat, 25 Nov 2023 21:30:09 +0900 Subject: [PATCH] test/openssl/test_ocsp.rb: fix flaky test Fixes: https://github.com/ruby/openssl/issues/695 --- test/openssl/test_ocsp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/openssl/test_ocsp.rb b/test/openssl/test_ocsp.rb index 85f133752..cf96fc22e 100644 --- a/test/openssl/test_ocsp.rb +++ b/test/openssl/test_ocsp.rb @@ -228,7 +228,7 @@ def test_basic_response_response_operations 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