mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 20:01:44 +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
|
describe ApplicationRequest do
|
||||||
before do
|
before do
|
||||||
ApplicationRequest.last_flush = Time.now.utc
|
ApplicationRequest.last_flush = Time.now.utc
|
||||||
ApplicationRequest.clear_cache!
|
$redis.flushall
|
||||||
end
|
end
|
||||||
|
|
||||||
after do
|
after do
|
||||||
|
|
Loading…
Reference in New Issue
Block a user