Closed hsbt closed 3 years ago
I'm not sure why they fails only macOS.
FWIW, it seems to work on Linux probably because bundler loads URI and so computes the URI::SCHEMES early, before the Ractor is created.
Adding URI.refresh_scheme_list
inside the Ractor.new {}
fails reliably, and there is no way to share a Mutex between Ractors.
https://github.com/ruby/uri/pull/26 avoids that issue.
The test-case of Ractor needs to separate the test process use by
assert_ractor
assertion. I will make it.But I found a failure of
test_ractor
of uri library. @kvokka Can you look https://github.com/ruby/uri/runs/2911438018 ?