Skip to content

Commit ab11ed7

Browse files
committed
[travis-ci] there seems to be a constant failure on TRAVIS=true with the application pool
1 parent e7b4008 commit ab11ed7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/spec/ruby/rack/application_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,8 +932,9 @@ def createRackServletWrapper(runtime, rackup); end
932932
@rack_config.stub(:getMaximumRuntimes).and_return 8
933933

934934
@pooling_factory.init(@rack_context)
935+
sleep(0.10)
935936
@pooling_factory.getApplicationPool.size.should < 6
936-
sleep(0.45) # 6 x 0.15 == 0.9 but we're booting in paralel
937+
sleep(ENV['TRAVIS'] == 'true' ? 0.9 : 0.45) # 6 x 0.15 == 0.9 but we're parallel
937938
@pooling_factory.getApplicationPool.size.should >= 6
938939

939940
expect( @pooling_factory.getManagedApplications ).to_not be_empty

0 commit comments

Comments
 (0)