Update Library/Homebrew/test/sandbox_spec.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
66a479be82
commit
6995e955b5
@ -134,7 +134,7 @@ RSpec.describe Sandbox, :needs_macos do
|
|||||||
# we have to spawn a process, otherwise kill doesn't try to send a signal if the process doesn't exist
|
# we have to spawn a process, otherwise kill doesn't try to send a signal if the process doesn't exist
|
||||||
let(:pid) do
|
let(:pid) do
|
||||||
pid = spawn("sleep 1000")
|
pid = spawn("sleep 1000")
|
||||||
sleep 1 # Ensure the process has started
|
sleep 0.1 # Ensure the process has started
|
||||||
pid
|
pid
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user