Giter VIP home page Giter VIP logo

persistent_http's People

Contributors

bpardee avatar petergoldstein avatar philwhln avatar soupmatt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

persistent_http's Issues

tests failing

$ rake test --trace
** Invoke test (first_time)
** Execute test
Run options:

Running tests:

................................I, [2012-07-22T22:19:18.566351 #10927] INFO -- : PersistentHTTP-example.com:80: Waiting for an available connection, all 3 connections are checked out.
W, [2012-07-22T22:19:20.567528 #10927] WARN -- : PersistentHTTP-example.com:80: It took 2.00116 seconds to obtain a connection. Consider raising the pool size which is currently set to 3.
E..

Finished tests in 2.035991s, 17.1906 tests/s, 65.8156 assertions/s.

  1. Error:
    test: with pool size of 3 should only allow 3 connections checked out at a time. (PersistentHTTPTest):
    NoMethodError: private method remove' called for #<PersistentHTTP:0x007fcb21a4f558> /Users/phil/src/github/persistent_http/test/persistent_http_test.rb:522:inblock (6 levels) in class:PersistentHTTPTest'
    /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/gems/1.9.1/gems/gene_pool-1.2.3/lib/gene_pool.rb:135:in with_connection' /Users/phil/src/github/persistent_http/test/persistent_http_test.rb:512:inblock (5 levels) in class:PersistentHTTPTest'
    /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/gems/1.9.1/gems/gene_pool-1.2.3/lib/gene_pool.rb:135:in with_connection' /Users/phil/src/github/persistent_http/test/persistent_http_test.rb:510:inblock (4 levels) in class:PersistentHTTPTest'
    /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/gems/1.9.1/gems/gene_pool-1.2.3/lib/gene_pool.rb:135:in with_connection' /Users/phil/src/github/persistent_http/test/persistent_http_test.rb:509:inblock (3 levels) in class:PersistentHTTPTest'
    /Users/phil/src/github/persistent_http/test/persistent_http_test.rb:507:in times' /Users/phil/src/github/persistent_http/test/persistent_http_test.rb:507:inblock (2 levels) in class:PersistentHTTPTest'
    /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/gems/1.9.1/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:in call' /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/gems/1.9.1/gems/shoulda-context-1.0.0/lib/shoulda/context/context.rb:398:inblock in create_test_from_should_hash'

35 tests, 134 assertions, 0 failures, 1 errors, 0 skips
rake aborted!
Command failed with status (1): [/usr/local/Cellar/ruby/1.9.3-p125/bin/ruby...]
/usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/file_utils.rb:53:in block in create_shell_runner' /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/file_utils.rb:45:incall'
/usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/file_utils.rb:45:in sh' /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/file_utils_ext.rb:39:insh'
/usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/file_utils.rb:82:in ruby' /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/file_utils_ext.rb:39:inruby'
/usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/testtask.rb:99:in block (2 levels) in define' /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/file_utils_ext.rb:60:inverbose'
/usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/testtask.rb:98:in block in define' /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/task.rb:205:incall'
/usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/task.rb:205:in block in execute' /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/task.rb:200:ineach'
/usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/task.rb:200:in execute' /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/task.rb:158:inblock in invoke_with_call_chain'
/usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/monitor.rb:211:in mon_synchronize' /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/task.rb:151:ininvoke_with_call_chain'
/usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/task.rb:144:in invoke' /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/application.rb:116:ininvoke_task'
/usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/application.rb:94:in block (2 levels) in top_level' /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/application.rb:94:ineach'
/usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/application.rb:94:in block in top_level' /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/application.rb:133:instandard_exception_handling'
/usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/application.rb:88:in top_level' /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/application.rb:66:inblock in run'
/usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/application.rb:133:in standard_exception_handling' /usr/local/Cellar/ruby/1.9.3-p125/lib/ruby/1.9.1/rake/application.rb:63:inrun'
/usr/local/Cellar/ruby/1.9.3-p125/bin/rake:32:in `

'
Tasks: TOP => test

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.