aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/pooled_connections_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix CIJon Leighton2011-12-281-9/+9
|
* Removed test which works only < 1.9Arun Agrawal2011-12-211-8/+0
|
* pushing caching and visitors down to the connectionAaron Patterson2011-11-191-72/+0
|
* Transactional fixtures enlist all active database connections.Jeremy Kemper2011-10-051-0/+2
| | | | You can use multiple databases in your tests without disabling transactional fixtures.
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
|
* Refactor Active Record test connection setup. Please see the ↵Jon Leighton2011-06-041-1/+1
| | | | RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases.
* implements ActiveRecord::Base.connection_config to be able to check the ↵Xavier Noria2011-03-051-0/+5
| | | | configuration of the current connection at runtime
* Enable the sqlite3 in-memory test connection to workJon Leighton2011-01-111-1/+1
|
* removing useless ternaryAaron Patterson2010-08-191-1/+1
|
* expected value should come first in assert_equalNeeraj Singh2010-05-181-3/+3
| | | | | | [#4630 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Move AR logging responsibilities to ActiveRecord::Railties::Subscriber.José Valim2010-01-131-12/+1
|
* Expose connections available in the connection pool.José Valim2010-01-111-0/+2
|
* Resolve deadlock in pooled connections testJeremy Kemper2009-11-101-1/+1
|
* Modify connection pool callbacks to be compatible w/ new styleNick Sieger2009-10-161-2/+19
| | | | Signed-off-by: Yehuda Katz <wycats@gmail.com>
* Tests should use ActiveRecord::Base.connection.rollback_db_transaction to ↵steve2009-05-011-1/+1
| | | | | | rollback a transaction Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure ActiveRecord::Base.connection_pool.with_connection creates a new ↵steve2009-05-011-0/+29
| | | | | | connection only when needed [#1752 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix typo in pool_conections_test [#1350 state:committed]Amos King2008-11-141-1/+1
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Timeout the connection pool monitor on ruby 1.8 onlyJeremy Kemper2008-11-081-4/+7
|
* Make sure ActiveRecord::Base.connected? doesn't raise an exception for ↵Pratik Naik2008-11-061-0/+5
| | | | defined connections
* Ensure ActiveRecord::ConnectionPool.connected? handles undefined ↵Wes Oldenbeuving2008-11-061-0/+8
| | | | | | connections. [#936 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Make clear_active_connections! also return stale connections back to the poolNick Sieger2008-08-291-0/+87
- also clean up some cruft remaining from per-thread connection cache