Skip to content

Commit

Permalink
Extend the timeout for the location_filter load test on JRuby.
Browse files Browse the repository at this point in the history
  • Loading branch information
brasmusson committed Jul 3, 2016
1 parent 247980f commit 23f0b8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/cucumber/core/test/filters/locations_filter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ def test_case_named(name)
end

max_duration_ms = 10000
max_duration_ms = max_duration_ms * 2.5 if defined?(JRUBY_VERSION)
it "filters #{num_features * num_scenarios_per_feature} test cases within #{max_duration_ms}ms" do
filter = Test::LocationsFilter.new(locations)
Timeout.timeout(max_duration_ms / 1000.0) do
Expand Down

0 comments on commit 23f0b8d

Please sign in to comment.