Fix the build.

This commit is contained in:
Guo Xiang Tan 2018-06-01 11:24:32 +08:00
parent 560a950da9
commit 12a0f12530
2 changed files with 3 additions and 4 deletions

View File

@ -63,6 +63,9 @@ Discourse::Application.configure do
s.set_regardless_of_locale(:crawl_images, false)
s.set_regardless_of_locale(:download_remote_images_to_local, false)
s.set_regardless_of_locale(:unique_posts_mins, 0)
# Running jobs are expensive and most of our tests are not concern with
# code that runs inside jobs
s.set_regardless_of_locale(:queue_jobs, true)
# disable plugins
if ENV['LOAD_PLUGINS'] == '1'
s.set_regardless_of_locale(:discourse_narrative_bot_enabled, false)

View File

@ -158,10 +158,6 @@ RSpec.configure do |config|
# very expensive IO operations
SiteSetting.automatically_download_gravatars = false
# Running jobs are expensive and most of our tests are not concern with
# code that runs inside jobs
SiteSetting.queue_jobs = true
Discourse.clear_readonly!
Sidekiq::Worker.clear_all