From 538e32f1520cd14fc2c7e8be956a3eca457a4e88 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 7 Oct 2023 14:50:32 +0100 Subject: [PATCH] Disable eager loading when running tests in CI for now https://github.com/rails/rails/issues/49500 --- config/environments/test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/test.rb b/config/environments/test.rb index 08d3236bfd2..35bf49b954f 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -15,7 +15,7 @@ # this is usually not necessary, and can slow down your test suite. However, it's # recommended that you enable it in continuous integration systems to ensure eager # loading is working properly before deploying your code. - config.eager_load = ENV["CI"].present? + config.eager_load = false # ENV["CI"].present? # Configure public file server for tests with Cache-Control for performance. config.public_file_server.enabled = true