aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/connection_pool_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Enable `Style/RedundantBegin` cop to avoid newly adding redundant begin blockRyuta Kamizono2018-12-211-16/+14
* Change the empty block style to have space inside of the blockRafael Mendonça França2018-09-251-1/+1
* Merge pull request #31696 from BrentWheeldon/bmw-connection-pool-load-deadlockMatthew Draper2018-08-241-0/+38
|\
| * Prevent deadlocks when waiting for connection from pool.Brent Wheeldon2018-03-231-0/+38
* | Speed up slow ConnectionPool test case.Guo Xiang Tan2018-08-201-11/+19
* | Improve tests for ActiveRecord::ConnectionAdapters::ConnectionPool configurat...Guo Xiang Tan2018-08-191-0/+37
|/
* Remove unnecessary `respond_to?(:report_on_exception)` checkingyuuji.yaginuma2018-03-021-2/+2
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-13/+13
* Merge pull request #25456 from ojab/masterRyuta Kamizono2018-01-031-1/+1
|\
* | Suppress expected exceptions by `report_on_exception` = `false` in Ruby 2.5Yasuo Honda2017-12-131-0/+3
* | Flush idle database connectionsMatthew Draper2017-11-261-0/+47
* | Merge pull request #28742 from quixoten/stack_conn_poolMatthew Draper2017-11-171-0/+8
|\ \
| * | Fix typosDevin Christensen2017-04-131-1/+1
| * | Improve documentation and add testDevin Christensen2017-04-131-0/+8
* | | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* | | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* | | Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* | | Remove debug printRyuta Kamizono2017-06-181-13/+0
|/ /
* | Refactor connection_pool_testKir Shatrov2017-02-261-1/+4
* | Correct spellingBenjamin Fleischer2017-02-051-1/+1
* | Reduce string objects by using \ instead of + or << for concatenating stringsAkira Matsuda2017-01-121-1/+1
* | Reconnecting AR::Base's connection breaks sqlite3_mem testsAkira Matsuda2017-01-101-2/+6
* | Fix Rubocop violations and fix documentation visibilityRafael Mendonça França2016-12-281-2/+2
* | Make the test that seems to be getting stuck noisierMatthew Draper2016-11-261-35/+55
* | Distribute connections to previously blocked threads when we're doneMatthew Draper2016-11-251-6/+0
* | Add ActiveRecord::Base.connection_pool.statPavel2016-11-091-0/+20
* | Use different name for main and thread connection variable.Charles Oliver Nutter2016-11-041-5/+5
* | normalizes indentation and whitespace across the projectXavier Noria2016-08-061-7/+7
* | applies new string literal convention in activerecord/testXavier Noria2016-08-061-6/+6
* | Fix `payload[:class_name]` to `payload[:spec_name]`Ryuta Kamizono2016-07-171-2/+2
* | Create connection.active_record notification and use that to ensure that lazy-Jeremy Wadsack2016-07-121-0/+12
* | Make connection stealing more explicitMatthew Draper2016-07-061-1/+4
|/
* fix testArthur Neves2016-05-051-8/+7
* Refactor connection handlerArthur Neves2016-05-051-8/+8
* Require only necessary concurrent-ruby classes.Jerry D'Antonio2015-11-041-1/+1
* Replaced `ActiveSupport::Concurrency::Latch` with concurrent-ruby.Jerry D'Antonio2015-07-131-14/+14
* sqlite3_mem has an existing connectionMatthew Draper2015-05-181-1/+3
* AR::ConPool - remove synchronization around connection cache.thedarkone2015-05-141-4/+132
* AR::ConPool - establish connections outside of critical section.thedarkone2015-05-141-0/+34
* Apply schema cache dump when creating connectionsEugene Kenny2015-04-291-0/+15
* Fix typos and improve the documentationJon Atack2015-04-151-2/+2
* test should only pass if the pool.size+1 checkout failsAaron Patterson2014-03-171-3/+2
* use a latch to avoid busy loopsAaron Patterson2014-03-171-3/+4
* Reap connections based on owning-thread deathMatthew Draper2014-03-181-10/+13
* Use teardown helper method.Guo Xiang Tan2014-03-141-2/+1
* Reaper has access to threadsafe active? callKevin Casey2014-02-081-1/+1
* if we remove the connection from the pool, we should close itAaron Patterson2013-07-081-0/+1
* fix typosAngelo Capilleri2013-06-151-1/+1
* MOAR cleanups.Vipul A M2013-03-141-1/+1
* Whitespaces :scissors:Rafael Mendonça França2013-01-221-7/+4