mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:21:18 +08:00
Fix random build error
Request specs could poison the cache since clear_cache! deletes only today and yesterday from the cache.
This commit is contained in:
@ -3,7 +3,7 @@ require 'rails_helper'
|
||||
describe ApplicationRequest do
|
||||
before do
|
||||
ApplicationRequest.last_flush = Time.now.utc
|
||||
ApplicationRequest.clear_cache!
|
||||
$redis.flushall
|
||||
end
|
||||
|
||||
after do
|
||||
|
Reference in New Issue
Block a user