Skip to content

Commit 6fd1dca

Browse files
aidanharanAidan Haran
andauthored
Coerce migrator tests when DB has no schema migration table on Windows CI (#924)
Co-authored-by: Aidan Haran <aharan@fusioneer.com>
1 parent 84b35be commit 6fd1dca

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/cases/coerced_tests.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1966,3 +1966,13 @@ class BasePreventWritesLegacyTest < ActiveRecord::TestCase
19661966
end
19671967
end
19681968
end
1969+
1970+
class MigratorTest < ActiveRecord::TestCase
1971+
# Test fails on Windows AppVeyor CI for unknown reason.
1972+
coerce_tests! :test_migrator_db_has_no_schema_migrations_table if RbConfig::CONFIG["host_os"] =~ /mswin|mingw/
1973+
end
1974+
1975+
class MultiDbMigratorTest < ActiveRecord::TestCase
1976+
# Test fails on Windows AppVeyor CI for unknown reason.
1977+
coerce_tests! :test_migrator_db_has_no_schema_migrations_table if RbConfig::CONFIG["host_os"] =~ /mswin|mingw/
1978+
end

0 commit comments

Comments
 (0)