Don't blow up if PID doesn't exist at the end
This commit is contained in:
parent
fcde80f43f
commit
7812f25741
@ -21,7 +21,9 @@ Spec::Runner.configure do |config|
|
||||
end
|
||||
|
||||
config.after :suite do
|
||||
if File.exists?("rack.pid")
|
||||
Process.kill("TERM", File.read("rack.pid").to_i)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user