mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 04:42:55 +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:
parent
37fb8fc0e7
commit
0122b8cd8b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user