Skip to content

Commit

Permalink
Update to prevent test failure for UploadedFile GC test on JRuby. (#188)
Browse files Browse the repository at this point in the history
Because the test sometimes fails.
  • Loading branch information
junaruga authored and perlun committed Jul 7, 2017
1 parent 239c88d commit a5d32a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/rack/test/uploaded_file_spec.rb
Expand Up @@ -41,7 +41,7 @@ def test_file_path
require 'java'
java_import 'java.lang.System'

20.times do |i|
50.times do |i|
uploaded_file = Rack::Test::UploadedFile.new(test_file_path)

uploaded_file = nil
Expand Down

0 comments on commit a5d32a8

Please sign in to comment.