Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests failing #1

Open
philwhln opened this issue Jul 23, 2012 · 1 comment
Open

tests failing #1

philwhln opened this issue Jul 23, 2012 · 1 comment

Comments

@philwhln
Copy link
Contributor

$ 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

@philwhln
Copy link
Contributor Author

Fixed in pull request
#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant