We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46bd163 commit df12ca0Copy full SHA for df12ca0
activerecord/test/support/connection.rb
@@ -21,7 +21,13 @@ def self.test_configuration_hashes
21
def self.connect
22
ActiveRecord.async_query_executor = :global_thread_pool
23
puts "Using #{connection_name}"
24
- ActiveRecord::Base.logger = ActiveSupport::Logger.new("debug.log", 1, 100 * 1024 * 1024)
+
25
+ if ENV["CI"]
26
+ ActiveRecord::Base.logger = nil
27
+ else
28
+ ActiveRecord::Base.logger = ActiveSupport::Logger.new("debug.log", 1, 100.megabytes)
29
+ end
30
31
ActiveRecord::Base.configurations = test_configuration_hashes
32
ActiveRecord::Base.establish_connection :arunit
33
ARUnit2Model.establish_connection :arunit2
0 commit comments