From 855cd609add0a74f321a6964ee4bc777fe741971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Thu, 28 Mar 2024 00:38:08 +0100 Subject: [PATCH] Call Rails executor wrap around test cases Not sure whether this affects us since we use RSpec; in any case, if it affects us, it seems like a good idea, although we'll have to watch whether some tests start failing more often. --- config/initializers/new_framework_defaults_7_0.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/new_framework_defaults_7_0.rb b/config/initializers/new_framework_defaults_7_0.rb index 0bdd126ee..0645ee87c 100644 --- a/config/initializers/new_framework_defaults_7_0.rb +++ b/config/initializers/new_framework_defaults_7_0.rb @@ -38,7 +38,7 @@ Rails.application.config.active_support.remove_deprecated_time_with_zone_name = # This makes test cases behave closer to an actual request or job. # Several features that are normally disabled in test, such as Active Record query cache # and asynchronous queries will then be enabled. -# Rails.application.config.active_support.executor_around_test_case = true +Rails.application.config.active_support.executor_around_test_case = true # Set both the `:open_timeout` and `:read_timeout` values for `:smtp` delivery method. # Rails.application.config.action_mailer.smtp_timeout = 5