Skip to content

Commit

Permalink
Merge pull request #3410 from ashie/fix-child-process-test-on-rbenv
Browse files Browse the repository at this point in the history
test_child_process: Fix a failed test on rbenv
  • Loading branch information
ashie authored Jun 4, 2021
2 parents fa106f1 + 9fbb894 commit 3f4c267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/plugin_helper/test_child_process.rb
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ def configure(conf)
proc_lines = []
Timeout.timeout(TEST_DEADLOCK_TIMEOUT) do
ran = false
@d.child_process_execute(:t14, "ruby", arguments:['-e', 'sleep 10; puts "hello"'], subprocess_name: "sleeeeeeeeeper", mode: [:read]) do |readio|
@d.child_process_execute(:t14, "/bin/sh", arguments:['-c', 'sleep 10; echo "hello"'], subprocess_name: "sleeeeeeeeeper", mode: [:read]) do |readio|
m.lock
ran = true
pids << @d.child_process_id
Expand Down

0 comments on commit 3f4c267

Please sign in to comment.