Skip to content

Commit

Permalink
Tweak sleep to see whether this is relevant for Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
chadlwilson committed Nov 26, 2024
1 parent 2e8acd3 commit 1221ff8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spec/ruby/rack/application_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ def createRackServletWrapper(runtime, rackup, filename); end
if app_count.addAndGet(1) == 2
raise org.jruby.rack.RackInitializationException.new('failed app init')
end
sleep(0.05)
sleep(0.20)
end
app
end
Expand All @@ -709,7 +709,7 @@ def createRackServletWrapper(runtime, rackup, filename); end
@rack_config.should_receive(:getMaximumRuntimes).and_return 3

@pooling_factory.init(@rack_context)
sleep(0.20)
sleep(0.10)

failed = 0
3.times do
Expand Down

0 comments on commit 1221ff8

Please sign in to comment.