Skip to content

Commit

Permalink
test/openssl/test_ocsp.rb: fix flaky test
Browse files Browse the repository at this point in the history
Fixes: ruby#695
  • Loading branch information
rhenium committed Nov 25, 2023
1 parent 1fa9fc5 commit 95281fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/openssl/test_ocsp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 95281fe

Please sign in to comment.