Skip to content

Commit 3c6bd70

Browse files
committed
Reduce JRuby flakyness by giving it more time to finish
Startup time is still very much a problem with JRuby, hence feature type aruba cukes that invoke rspec a lot of times are still problematic. The bisect specs do this to the extreme, resulting in long spec run times. Locally a single scenario takes 36 seconds to run for me, on a 4-core desktop computer. An overloaded CI might take longer, hence just double the timeout and hope it's enough. Nothing much else we can do. ref: rspec#2442
1 parent 0e0584f commit 3c6bd70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/support/env.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
set_env('SHELL', '/usr/bin/bash')
66

77
if RUBY_PLATFORM =~ /java/ || defined?(Rubinius)
8-
@aruba_timeout_seconds = 60
8+
@aruba_timeout_seconds = 120
99
else
1010
@aruba_timeout_seconds = 10
1111
end

0 commit comments

Comments
 (0)