Ensure that we cleanup after tests.

This commit is contained in:
Guo Xiang Tan 2017-08-01 23:42:26 +09:00
parent 7d5b6e2b3c
commit 5b76b9e888

View File

@ -93,6 +93,7 @@ describe DiscourseRedis do
describe DiscourseRedis::FallbackHandler do
after do
fallback_handler.master = true
MessageBus.keepalive_interval = -1
end
describe '#initiate_fallback_to_master' do