Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

tests failing #1

Open
philwhln opened this Issue · 1 comment

1 participant

@philwhln

$ 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:in
block (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:in
block (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:in
block (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:in
block (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:in
block (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:in
block 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:in
call'
/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:in
sh'
/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:in
ruby'
/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:in
verbose'
/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:in
call'
/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:in
each'
/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:in
block 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:in
invoke_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:in
invoke_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:in
each'
/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:in
standard_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:in
block 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:in
run'
/usr/local/Cellar/ruby/1.9.3-p125/bin/rake:32:in `

'
Tasks: TOP => test

@philwhln

Fixed in pull request
#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.