Skip to content

Commit 165e34e

Browse files
committed
Disabled test_s_random_bytes_is_fork_safe again
1 parent 587bd58 commit 165e34e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_securerandom.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def setup
1111

1212
# This test took 2 minutes on my machine.
1313
# And 65536 times loop could not be enough for forcing PID recycle.
14-
# We should run this test only on GitHub Actions.
14+
# TODO: We should run this test only on GitHub Actions.
1515
def test_s_random_bytes_is_fork_safe
1616
begin
1717
require 'openssl'
@@ -21,7 +21,7 @@ def test_s_random_bytes_is_fork_safe
2121
SecureRandom.random_bytes(8)
2222
pid, v1 = forking_random_bytes
2323
assert(check_forking_random_bytes(pid, v1), 'Process ID not recycled?')
24-
end if ENV["CI"] && RUBY_PLATFORM =~ /darwin/ && `sw_vers -productVersion`.to_i > 13 # for Apple Silicon
24+
end if false # ENV["CI"] && RUBY_PLATFORM =~ /darwin/ && `sw_vers -productVersion`.to_i > 13 # for Apple Silicon
2525

2626
def forking_random_bytes
2727
r, w = IO.pipe

0 commit comments

Comments
 (0)