mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 03:19:10 +00: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…
x
Reference in New Issue
Block a user