Skip to content

Commit 087a007

Browse files
committed
Wait longer
1 parent 1d6f174 commit 087a007

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spec/git_rubocop_spec.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ def foo()
7272
file('foo.rb').write(bad_rb)
7373
file('bar.rb').write(bad_rb)
7474
git_add('.')
75-
run('gc Fail rubocop', exit_with: be_nonzero, wait: 5)
75+
run('gc Fail rubocop', exit_with: be_nonzero, wait: 10)
7676
run('git_rebasing') # paused rebase for fixing
7777
file('foo.rb').write(good_rb)
7878
file('bar.rb').write(good_rb)
79-
run('grc', wait: 5) do |cmd|
79+
run('grc', wait: 10) do |cmd|
8080
expect(cmd).to have_output(stdout: end_with('(1/1) Stage this hunk [y,n,q,a,d,e,?]? '), wait: 10)
8181

8282
cmd.stdin.puts('y')
@@ -130,7 +130,7 @@ def foo()
130130

131131
# manually lint, TODO: remove this step
132132
run('git_stash_only_untracked')
133-
run('git_autolint_head', wait: 5)
133+
run('git_autolint_head', wait: 10)
134134
run('git_rebasing', exit_with: be_nonzero)
135135
run('git stash pop')
136136

spec/spec_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def warn(msg) # leftovers:allow
2121
require 'simplecov' if ENV['COVERAGE']
2222

2323
require_relative 'speckly/rspec'
24-
Speckly.default_max_wait_time = 5
24+
Speckly.default_max_wait_time = 10
2525
Speckly.default_command_prefix = []
2626

2727
Dir.glob(File.expand_path('support/**/*.rb', __dir__)).each do |file|

0 commit comments

Comments
 (0)