Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Don't use a forking server - use threads instead.

I think this may help solve the travis CI build problems--the forked process may be exiting with another status code causing a failed spec run even though no specs failed.

The forked process approach was needed for Patron in the past but that appears to be fixed.
  • Loading branch information...
commit 3057b66bc5037a9ddba7ee9326d73a2a59165fe5 1 parent 7563715
@myronmarston authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 spec/support/vcr_localhost_server.rb
5 spec/support/vcr_localhost_server.rb
@@ -81,10 +81,7 @@ def concurrently
def should_use_subprocess?
- # Patron times out when the server is running in a separate thread in the same process,
- # so use a separate process.
- # In all other cases, we can use a thread (it's faster!)
- defined?(Patron)
+ false
def wait_until(timeout, error_message, &block)

0 comments on commit 3057b66

Please sign in to comment.
Something went wrong with that request. Please try again.