Skip to content

Commit 9bac666

Browse files
committed
Improve flaky test for concurrency controls
1 parent 7b60da9 commit 9bac666

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/concurrency_controls_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class ConcurrencyControlsTest < ActiveSupport::TestCase
3636
end
3737

3838
test "schedule several conflicting jobs over the same record sequentially" do
39-
UpdateResultJob.set(wait: 0.2.seconds).perform_later(@result, name: "000", pause: 0.1.seconds)
39+
UpdateResultJob.set(wait: 0.23.seconds).perform_later(@result, name: "000", pause: 0.1.seconds)
4040

4141
("A".."F").each_with_index do |name, i|
4242
SequentialUpdateResultJob.set(wait: (0.2 + i * 0.01).seconds).perform_later(@result, name: name, pause: 0.3.seconds)

0 commit comments

Comments
 (0)