Run the logger tests in isolation

上级 45318856
......@@ -39,7 +39,7 @@ class ParallelEach
include Enumerable
# default to 2 cores
CORES = ENV['TEST_CORES'].to_i || 2
CORES = (ENV['TEST_CORES'] || 2).to_i
def initialize list
@list = list
......
......@@ -5,6 +5,7 @@
module ApplicationTests
module RackTests
class LoggerTest < ActiveSupport::TestCase
include ActiveSupport::Testing::Isolation
include ActiveSupport::LogSubscriber::TestHelper
include Rack::Test::Methods
......@@ -17,6 +18,7 @@ def setup
end
def teardown
super
teardown_app
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册