Skip to content

Commit

Permalink
Be robust to wire servers that have been killed already
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwynne committed Jun 20, 2014
1 parent ff6a9c6 commit 4035c42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions features/lib/step_definitions/wire_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ def stop_wire_server
return unless @wire_pid
Process.kill('KILL', @wire_pid)
Process.wait(@wire_pid)
rescue Errno::ESRCH
# No such process - wire server has already been stopped by the After hook
end
end

Expand Down

0 comments on commit 4035c42

Please sign in to comment.