Dmitry Frenkel
Dmitry Frenkel
#### Environment details - OS: Mac OS (same results on Linux with latest OpenJDK or with OpenJDK 11) - Java version: ``` openjdk version "14.0.1" 2020-04-14 OpenJDK Runtime Environment AdoptOpenJDK...
When multiple Database backends are used in ActiveRecord, DatabaseCleaner fails to truncate tables
When _both_ MySQL and Postgres ActiveRecord models are used, and when testing MySQL-backed code, Truncation strategy includes _BOTH_ ::DatabaseCleaner::ActiveRecord::MysqlAdapter and ::DatabaseCleaner::ActiveRecord::PostgreSQLAdapter into ::DatabaseCleaner::ActiveRecord::AbstractAdapter, which, in turn, gets included into ActiveRecord::AbstractAdapter....