You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to generated the required 'vcr' files?
$ git clone docker-client
$ bundle install --path gems --binstubs
$ bin/rspec
1) Docker::Connection returns a stream
Failure/Error: response = subject.stream("/containers/#{id}/attach", params, timeout, {}) do |data|
VCR::Errors::UnhandledHTTPRequestError:
================================================================================
An HTTP request has been made that VCR does not know how to handle:
POST http://10.0.5.5:4243/containers/c27ea9b11da9/attach?stdout=1&stream=1
The text was updated successfully, but these errors were encountered:
The 'vcr' files are in the repository but testing streaming responses does not work with VCR and hence these tests only work against a running Docker server. Such tests are tagged as live and all tests can run against a Docker server when the VCR config is changed to config.default_cassette_options = {:record => :all} (see spec_helper.rb:18). This is also the way to generate the VCR files. Maybe we can derive this setting from an environment variable later ...
Anyway I have now excluded live tests by default so that tests pass after a clean checkout.
Is there a way to generated the required 'vcr' files?
The text was updated successfully, but these errors were encountered: