mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
DEV: disable flaky spec
This is erratically failing in our production CI
This commit is contained in:
parent
02cb01406e
commit
dd89a13e22
@ -42,7 +42,13 @@ describe DistributedMutex do
|
||||
expect(Time.now.to_i).to be <= start + 1
|
||||
end
|
||||
|
||||
it 'allows the validity of the lock to be configured' do
|
||||
# expected: 1574200319
|
||||
# got: 1574200320
|
||||
#
|
||||
# (compared using ==)
|
||||
# ./spec/components/distributed_mutex_spec.rb:60:in `block (3 levels) in <main>'
|
||||
# ./lib/distributed_mutex.rb:33:in `block in synchronize'
|
||||
xit 'allows the validity of the lock to be configured' do
|
||||
freeze_time
|
||||
|
||||
mutex = DistributedMutex.new(key, validity: 2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user