Skip to content

Commit ae7b44f

Browse files
try higher timeout
1 parent 0e6fbf5 commit ae7b44f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/closure_tree/parallel_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def work
123123
it 'fails to deadlock while simultaneously deleting items from the same hierarchy' do
124124
allow(User).to receive(:with_advisory_lock!).and_wrap_original do |method, *args, &block|
125125
options = args.extract_options!
126-
options[:timeout_seconds] = nil
126+
options[:timeout_seconds] = 15
127127
method.call(*args, options, &block)
128128
end
129129

0 commit comments

Comments
 (0)