[DRE-commits] [ruby-webmock] 01/01: five test failures needs fixing

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Thu Apr 10 08:13:17 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 66ecf694246b4324ecc871f0bfc6d2a1f8f832a9
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Thu Apr 10 13:42:48 2014 +0530

    five test failures needs fixing
---
 debian/TODO | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 62 insertions(+), 4 deletions(-)

diff --git a/debian/TODO b/debian/TODO
index 29414d6..b2042b0 100644
--- a/debian/TODO
+++ b/debian/TODO
@@ -1,5 +1,63 @@
-- Rebuild patron with ruby 2.0.0 - tests are segfaulting
-- Package the http gem as it is a missing dependency - it is uploaded to NEW.
+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)>'
+
+  4) 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
+     Failure/Error: Unable to find matching line from backtrace
+     NoMethodError:
+       undefined method `empty?' for #<Addressable::URI:0x00000006b37f30>
+     # ./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
 
-https://github.com/tarcieri/http
-https://rubygems.org/gems/http

-- 
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