We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
concurrency_controls_test.rb
1 parent 86d323b commit 73f04f5Copy full SHA for 73f04f5
test/integration/concurrency_controls_test.rb
@@ -36,7 +36,7 @@ class ConcurrencyControlsTest < ActiveSupport::TestCase
36
end
37
38
test "schedule several conflicting jobs over the same record sequentially" do
39
- UpdateResultJob.set(wait: 0.23.seconds).perform_later(@result, name: "000", pause: 0.1.seconds)
+ UpdateResultJob.set(wait: 2.seconds).perform_later(@result, name: "000", pause: 0.1.seconds)
40
41
("A".."F").each_with_index do |name, i|
42
NonOverlappingUpdateResultJob.set(wait: (0.2 + i * 0.01).seconds).perform_later(@result, name: name, pause: 0.3.seconds)
0 commit comments