From 2ea412073af0c5c7e34a7bcaeb8c4a2b43bad520 Mon Sep 17 00:00:00 2001 From: Aaron Contreras Date: Thu, 11 Jul 2024 15:13:47 -0500 Subject: [PATCH] Allow disabling spec profiling via ENV --- spec/rspec_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/rspec_helper.rb b/spec/rspec_helper.rb index 7dfa3d9f9646..acc4ed4b0e56 100644 --- a/spec/rspec_helper.rb +++ b/spec/rspec_helper.rb @@ -98,7 +98,7 @@ # end of the spec run, to help surface which specs are running # particularly slow. # Disabled on CI to have a cleaner log output. - config.profile_examples = 10 unless ENV["CI"] + config.profile_examples = 10 unless ENV["CI"] || ENV["NO_PROFILE_EXAMPLES"] # Run specs in random order to surface order dependencies. If you find an # order dependency and want to debug it, you can fix the order by providing