[DRE-commits] [ruby-webmock] 01/01: only 3 tests are failing if network is disabled

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sun Apr 13 19:05:52 UTC 2014


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository ruby-webmock.

commit cb9dd246e0d185439c3fa1e7409fb6f1b718e0d5
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Mon Apr 14 00:34:02 2014 +0530

    only 3 tests are failing if network is disabled
---
 debian/TODO | 62 +++++++++++++------------------------------------------------
 1 file changed, 13 insertions(+), 49 deletions(-)

diff --git a/debian/TODO b/debian/TODO
index b2042b0..1549b55 100644
--- a/debian/TODO
+++ b/debian/TODO
@@ -1,63 +1,27 @@
 Needs to fix these test failures
- 
-Failures:
-
-  1) Webmock with Curb using #perform for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass response to callback with body
-     Failure/Error: Unable to find matching line from backtrace
-     Curl::Err::TimeoutError:
-       Curl::Err::TimeoutError
-     Shared Example Group: "Curb" called from 
-     # ./lib/webmock/http_lib_adapters/curb_adapter.rb:213:in `block in perform'
-     # ./lib/webmock/http_lib_adapters/curb_adapter.rb:70:in `curb_or_webmock'
-     # ./lib/webmock/http_lib_adapters/curb_adapter.rb:213:in `perform'
-     # ./spec/acceptance/curb/curb_spec_helper.rb:103:in `curb_http_request'
-     # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request'
-     # ./spec/acceptance/shared/callbacks.rb:104:in `block (5 levels) in <top (required)>'
-
-  2) Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when net connect is allowed should make a real https request if request is not stubbed
-     Failure/Error: Unable to find matching line from backtrace
-     Curl::Err::TimeoutError:
-       Curl::Err::TimeoutError
-     Shared Example Group: "Curb" called from 
-     # ./lib/webmock/http_lib_adapters/curb_adapter.rb:213:in `block in perform'
-     # ./lib/webmock/http_lib_adapters/curb_adapter.rb:70:in `curb_or_webmock'
-     # ./lib/webmock/http_lib_adapters/curb_adapter.rb:213:in `perform'
-     # ./lib/webmock/http_lib_adapters/curb_adapter.rb:189:in `http'
-     # ./lib/webmock/http_lib_adapters/curb_adapter.rb:189:in `http'
-     # ./lib/webmock/http_lib_adapters/curb_adapter.rb:195:in `block (2 levels) in <class:WebMockCurlEasy>'
-     # ./spec/acceptance/curb/curb_spec_helper.rb:113:in `curb_http_request'
-     # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request'
-     # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:14:in `block (4 levels) in <top (required)>'
 
-  3) Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed with exception for allowed domains when the host is allowed should make a real request to allowed host
-     Failure/Error: Unable to find matching line from backtrace
-     Curl::Err::TimeoutError:
-       Curl::Err::TimeoutError
-     Shared Example Group: "Curb" called from 
-     # ./lib/webmock/http_lib_adapters/curb_adapter.rb:213:in `block in perform'
-     # ./lib/webmock/http_lib_adapters/curb_adapter.rb:70:in `curb_or_webmock'
-     # ./lib/webmock/http_lib_adapters/curb_adapter.rb:213:in `perform'
-     # ./lib/webmock/http_lib_adapters/curb_adapter.rb:189:in `http'
-     # ./lib/webmock/http_lib_adapters/curb_adapter.rb:189:in `http'
-     # ./lib/webmock/http_lib_adapters/curb_adapter.rb:195:in `block (2 levels) in <class:WebMockCurlEasy>'
-     # ./spec/acceptance/curb/curb_spec_helper.rb:113:in `curb_http_request'
-     # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request'
-     # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:123:in `block (5 levels) in <top (required)>'
+Failures:
 
-  4) Excon with response_block should support excon response_block
+  1) Excon with response_block should support excon response_block
      Failure/Error: Unable to find matching line from backtrace
        expected: ""
             got: "abc" (using ==)
      # ./spec/acceptance/excon/excon_spec.rb:33:in `block (3 levels) in <top (required)>'
 
-  5) Net:HTTP should work with Addressable::URI passed to Net::HTTP.get_response
+  2) HTTPClient session headers client sends the Accept, User-Agent, and Date by default
+     Failure/Error: Unable to find matching line from backtrace
+     SocketError:
+       getaddrinfo: Name or service not known (http://www.example.com:80)
+     # ./lib/webmock/http_lib_adapters/httpclient_adapter.rb:64:in `do_get'
+     # ./lib/webmock/http_lib_adapters/httpclient_adapter.rb:35:in `do_get_block'
+     # ./spec/acceptance/httpclient/httpclient_spec_helper.rb:18:in `http_request'
+     # ./spec/acceptance/httpclient/httpclient_spec.rb:144:in `block (3 levels) in <top (required)>'
+
+  3) Net:HTTP should work with Addressable::URI passed to Net::HTTP.get_response
      Failure/Error: Unable to find matching line from backtrace
      NoMethodError:
-       undefined method `empty?' for #<Addressable::URI:0x00000006b37f30>
+       undefined method `empty?' for #<Addressable::URI:0x00000006bfe0b8>
      # ./lib/webmock/http_lib_adapters/net_http.rb:123:in `start_without_connect'
      # ./lib/webmock/http_lib_adapters/net_http.rb:150:in `start'
      # ./spec/acceptance/net_http/net_http_spec.rb:163:in `block (2 levels) in <top (required)>'
 
-Finished in 10 minutes 12 seconds
-3587 examples, 5 failures, 7 pending
-

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-webmock.git



More information about the Pkg-ruby-extras-commits mailing list