Skip to content

Commit 4db026a

Browse files
committed
Increase timeout for --run flag integration test
The test fails on JRuby because it takes longer than a second to start up Overcommit on the JVM. Increase the timeout to 10 seconds to be safe.
1 parent b102f3e commit 4db026a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/integration/run_flag_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
end
2727

2828
it 'completes successfully without blocking' do
29-
wait_until { subject }
29+
wait_until(timeout: 10) { subject } # Need to wait long time for JRuby startup
3030
subject.status.should == 0
3131
end
3232
end

0 commit comments

Comments
 (0)