diff options
author | eileencodes <eileencodes@gmail.com> | 2019-02-12 12:26:09 -0500 |
---|---|---|
committer | eileencodes <eileencodes@gmail.com> | 2019-02-12 12:26:09 -0500 |
commit | 32bd378821f87045e12e515695ddaaa5b9ffda3e (patch) | |
tree | 6bc76bfa58cdc036126de71969835f9c4b4e5176 /actionmailbox/test/dummy | |
parent | 1bbf08bb497a022f94c7309e0525071b1a65e272 (diff) | |
download | rails-32bd378821f87045e12e515695ddaaa5b9ffda3e.tar.gz rails-32bd378821f87045e12e515695ddaaa5b9ffda3e.tar.bz2 rails-32bd378821f87045e12e515695ddaaa5b9ffda3e.zip |
Fix DatabaseSelector test that fails sometimes
On CI we've seen a few test failures when the DatabaseSelectorTest runs
before the ConnectionHandlersMultiDbTest. This is because it's creating
2 handlers but not properly tearing them down.
Example failure:
```
Failure:
ActiveRecord::ConnectionAdapters::ConnectionHandlersMultiDbTest#test_connects_to_with_single_configuration
[/rails/activerecord/test/cases/connection_adapters/connection_handlers_multi_db_test.rb:241]:
Expected: 1
Actual: 2
```
Diffstat (limited to 'actionmailbox/test/dummy')
0 files changed, 0 insertions, 0 deletions