Skip to content

Commit 50400f3

Browse files
hsbtmatzbot
authored andcommitted
[ruby/etc] Removed workaround for assert_ractor
ruby/etc@fd61177b71
1 parent a84f734 commit 50400f3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

test/etc/test_etc.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,6 @@ def test_ractor_parallel
178178
omit "This test is flaky and intermittently failing now on ModGC workflow" if ENV['GITHUB_WORKFLOW'] == 'ModGC'
179179

180180
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-
185181
10.times.map do
186182
Ractor.new do
187183
100.times do
@@ -208,10 +204,6 @@ class Ractor
208204

209205
def test_ractor_unsafe
210206
assert_ractor(<<~RUBY, require: 'etc')
211-
class Ractor
212-
alias value take
213-
end unless Ractor.method_defined? :value # compat with Ruby 3.4 and olders
214-
215207
r = Ractor.new do
216208
begin
217209
Etc.passwd

0 commit comments

Comments
 (0)