Skip to content

Commit 5ec0ee1

Browse files
Stevo-Stmm1
authored andcommitted
Use Process::fork in place of fork
to make it easier to override the default behaviour of fork if needed.
1 parent 4305f16 commit 5ec0ee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/test_queue/runner.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ def spawn_workers
282282
@concurrency.times do |i|
283283
num = i + 1
284284

285-
pid = fork do
285+
pid = Process.fork do
286286
@server&.close
287287

288288
iterator = Iterator.new(@test_framework, relay? ? @relay : @socket, method(:around_filter), early_failure_limit: @early_failure_limit, run_token: @run_token)

0 commit comments

Comments
 (0)