Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
dpep committed Nov 21, 2023
1 parent f846cf1 commit 7ae7686
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/support/mock_server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ def mock_server(host, *args)
# puts "client: #{line}"
end

sleep $1.to_f if path =~ %r{/timeout/(\d+)}

resp = "OK"
headers = [
"http/1.1 200 ok",
Expand Down

0 comments on commit 7ae7686

Please sign in to comment.