toland / patron

Ruby HTTP client based on libcurl
http://toland.github.com/patron/
MIT License
541 stars 74 forks source link

one rspec test fails on Arch Linux #184

Closed bastelfreak closed 2 years ago

bastelfreak commented 3 years ago

Hi! I would like to package this software for Arch Linux. During the build we run rake build to build the gem and rake to run the tests. I tested this on the latest 0.13.3 release and master branch. Both fail with:

Failures:

  1) Patron::Session should store cookies across multiple requests
     Failure/Error: expect(cookie_jar_contents).not_to be_empty
       expected `"".empty?` to return false, got true
     # ./spec/session_spec.rb:451:in `block (2 levels) in <top (required)>'

Finished in 1 minute 3.06 seconds (files took 0.12548 seconds to load)
161 examples, 1 failure

Failed examples:

rspec ./spec/session_spec.rb:443 # Patron::Session should store cookies across multiple requests

all other tests pass. Installed gems in the environment:

# gem list

*** LOCAL GEMS ***

benchmark (default: 0.1.0)
bigdecimal (default: 2.0.0)
bundler (2.2.12)
cgi (default: 0.1.0)
csv (default: 3.1.2)
date (default: 3.0.0)
dbm (default: 1.1.0)
delegate (default: 0.1.0)
did_you_mean (default: 1.4.0)
diff-lcs (1.4.4)
etc (default: 1.1.0)
fcntl (default: 1.0.0)
fiddle (default: 1.0.0)
fileutils (default: 1.4.1)
forwardable (default: 1.3.1)
gdbm (default: 2.1.0)
getoptlong (default: 0.1.0)
io-console (default: 0.5.6)
ipaddr (default: 1.2.2)
irb (1.3.0)
json (default: 2.3.0)
logger (default: 1.4.2)
matrix (default: 0.2.0)
mutex_m (default: 0.1.0)
net-pop (default: 0.1.0)
net-smtp (default: 0.1.0)
nio4r (2.5.4)
observer (default: 0.1.0)
open3 (default: 0.1.0)
openssl (default: 2.1.2)
ostruct (default: 0.2.0)
prime (default: 0.1.1)
pstore (default: 0.1.0)
psych (default: 3.1.0)
puma (5.2.1)
racc (default: 1.4.16)
rack (2.2.3)
rake (13.0.3)
rake-compiler (1.1.1)
rdoc (6.3.0)
readline (default: 0.0.2)
readline-ext (default: 0.1.0)
reline (0.2.2, default: 0.1.5)
rexml (default: 3.2.3)
rspec (3.8.0)
rspec-core (3.8.0)
rspec-expectations (3.8.1)
rspec-mocks (3.8.0)
rspec-support (3.8.0)
rss (default: 0.2.8)
sdbm (default: 1.0.0)
singleton (default: 0.1.0)
stringio (default: 0.1.0)
strscan (default: 1.0.3)
timeout (default: 0.1.0)
tracer (default: 0.1.0)
uri (default: 0.10.0)
webrick (default: 1.6.0)
yaml (default: 0.1.0)
yard (0.9.26)
zlib (default: 1.1.0)

do you have any clue why this single test fails?