mperham/connection_pool — Issue #2: 1.9.3 Race condition?
Author: elcuervo
Created: 2012-02-05 14:52:43+00:00
State: open

## Running tests with 1.9.2

```bash
connection_pool git:(master) rvm use 1.9.2
Using /Users/baguirre/.rvm/gems/ruby-1.9.2-p290
connection_pool git:(master) rake
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.2.0]
Loaded suite /Users/baguirre/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/rake_test_loader
Started
.....
Finished in 0.936252 seconds.

5 tests, 7 assertions, 0 failures, 0 errors, 0 skips

Test run options: --seed 26754
```
---
## Running with 1.9.3

```bash
connection_pool git:(master) rvm use 1.9.3
Using /Users/baguirre/.rvm/gems/ruby-1.9.3-p0
connection_pool git:(master) rake
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]
Run options: --seed 50855

# Running tests:

...F.

Finished tests in 0.941313s, 5.3117 tests/s, 7.4364 assertions/s.

1) Failure:
test_basic_multithreaded_usage(TestConnectionPool) [/Users/baguirre/code/clocktower/ruby/gems/connection_pool/test/test_connection_pool.rb:35]:
--- expected
+++ actual
@@ -1 +1 @@
-[1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3]
+[1, 1, 1, 1, 1, 2, 2, 2, 3, 2, 2, 3, 3, 3, 3]

5 tests, 7 assertions, 1 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [/Users/baguirre/.rvm/rubies/ruby-1.9.3-p0/...]

Tasks: TOP => default => test
(See full trace by running task with --trace)
```