Skip to content

Commit 9569999

Browse files
authored
Merge pull request #702 from rhenium/ky/ocsp-test-fix-random-failures
test/openssl/test_ocsp.rb: fix flaky test
2 parents 3bbf517 + 95281fe commit 9569999

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/openssl/test_ocsp.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def test_basic_response_response_operations
228228
assert_equal OpenSSL::OCSP::V_CERTSTATUS_REVOKED, single.cert_status
229229
assert_equal OpenSSL::OCSP::REVOKED_STATUS_UNSPECIFIED, single.revocation_reason
230230
assert_equal now - 400, single.revocation_time
231-
assert_in_delta (now - 301), single.this_update, 1
231+
assert_in_delta (now - 300), single.this_update, 1
232232
assert_equal nil, single.next_update
233233
assert_equal [], single.extensions
234234

0 commit comments

Comments
 (0)