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
|
end
|
||||||
|
|
||||||
config.after :suite do
|
config.after :suite do
|
||||||
Process.kill("TERM", File.read("rack.pid").to_i)
|
if File.exists?("rack.pid")
|
||||||
|
Process.kill("TERM", File.read("rack.pid").to_i)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue