We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d226418 commit 8b1c313Copy full SHA for 8b1c313
test/etc/test_etc.rb
@@ -178,6 +178,10 @@ def test_ractor_parallel
178
omit "This test is flaky and intermittently failing now on ModGC workflow" if ENV['GITHUB_WORKFLOW'] == 'ModGC'
179
180
assert_ractor(<<~RUBY, require: 'etc', timeout: 60)
181
+ class Ractor
182
+ alias join take
183
+ end unless Ractor.method_defined? :value # compat with Ruby 3.4 and olders
184
+
185
10.times.map do
186
Ractor.new do
187
100.times do
@@ -204,6 +208,10 @@ def test_ractor_parallel
204
208
205
209
def test_ractor_unsafe
206
210
assert_ractor(<<~RUBY, require: 'etc')
211
212
+ alias value take
213
214
207
215
r = Ractor.new do
216
begin
217
Etc.passwd
0 commit comments