briandunn / flatware

A parallel test runner for RSpec and Cucumber with pretty output
MIT License
256 stars 35 forks source link

Process.setpgrp fails in circleci #66

Closed ryanong closed 4 months ago

ryanong commented 1 year ago

/home/circleci/repo/vendor/bundle/ruby/3.0.0/gems/flatware-2.0.0/lib/flatware/cli.rb:58:in 'setpgrp': Operation not permitted (Errno::EPERM)

Is this absolutely necessary for this to work?

briandunn commented 1 year ago

No it's not, just a housekeeping feature to help me keep track of the relationships between the processes. a rescue nil should be fine, maybe with a debug log message.

briandunn commented 1 year ago

Of course I've always thought of flatware as a tool for running tests efficiently on my development machine - I think circle has their own recommended ways of parallelizing an rspec suite? If you can get flatware working for that too though - that would be pretty cool.

ryanong commented 1 year ago

They parallelize across containers not within a container. I found that parallelizing feature tests where there is a LOT of io sped up tests around 20%