diff options
| author | Benoit Daloze <eregontp@gmail.com> | 2025-03-27 21:38:00 +0100 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-03-27 20:39:38 +0000 |
| commit | 0581947af536ec0fc3da295003455404e45b8f4d (patch) | |
| tree | f34088fbb1662cb907e7955d915883e2da38ada6 | |
| parent | 2f1ac3fea377db64e8a7983ef25975418514d99a (diff) | |
[ruby/etc] Speedup TestEtc#test_ractor_parallel
https://github.com/ruby/etc/commit/18c12c084c
| -rw-r--r-- | test/etc/test_etc.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/etc/test_etc.rb b/test/etc/test_etc.rb index 38aa0427ea..f876628ca3 100644 --- a/test/etc/test_etc.rb +++ b/test/etc/test_etc.rb @@ -177,9 +177,9 @@ class TestEtc < Test::Unit::TestCase def test_ractor_parallel omit "This test fails randomly with no message; Ractor is not stable yet" assert_ractor(<<~RUBY, require: 'etc', timeout: 60) - 20.times.map do + 10.times.map do Ractor.new do - 1000.times do + 100.times do raise unless String === Etc.systmpdir raise unless Hash === Etc.uname if defined?(Etc::SC_CLK_TCK) |
