Skip to content

Commit

Permalink
fix remove socket
Browse files Browse the repository at this point in the history
  • Loading branch information
kostya committed Jul 7, 2013
1 parent 696eb6f commit 9ef55c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/checker/socket_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ def chsockb(cfg = {})
end

describe "Socket Checker" do
after :each do
FileUtils.rm(C.p4_sock) rescue nil
end

["tcp://127.0.0.1:#{C.p4_ports[0]}", "unix:#{C.p4_sock}"].each do |addr|
describe "socket: '#{addr}'" do
before :each do
Expand Down

0 comments on commit 9ef55c2

Please sign in to comment.