m
m copied to clipboard
Issue with parallelize
If I run my test using m
I get this error when I have parallelize(workers: :number_of_processors)
in my test. If I run my test with bin/rails test
I have no issues.
/Users/jarrett/.rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/drb/drb.rb:1795:in
current_server': DRb::DRbServerNotFound (DRb::DRbServerNotFound)`
Is this issue still happening?
I just so happened to try to run a test through m
today and it does still happen.
The test does run and reports status correctly. It is just noisy since it starts up too many workers.
You can get around it by setting PARALLEL_WORKERS=1
in your command line since that skips out on parallel workers completely.
I haven't tried using m
to run an entire directory, so this problem might only really occur when running individual tests.