mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-26 14:56:30 +00:00
Increase timeout in test cases
This commit is contained in:
parent
06ab399497
commit
87c71a3ea6
@ -138,7 +138,7 @@ class Tmux
|
|||||||
end
|
end
|
||||||
private
|
private
|
||||||
def defaults opts
|
def defaults opts
|
||||||
{ timeout: 5, pane: 0 }.merge(opts)
|
{ timeout: 10, pane: 0 }.merge(opts)
|
||||||
end
|
end
|
||||||
|
|
||||||
def wait opts = {}
|
def wait opts = {}
|
||||||
@ -209,7 +209,7 @@ class TestGoFZF < TestBase
|
|||||||
|
|
||||||
def test_vanilla
|
def test_vanilla
|
||||||
tmux.send_keys "seq 1 100000 | #{fzf}", :Enter
|
tmux.send_keys "seq 1 100000 | #{fzf}", :Enter
|
||||||
tmux.until(timeout: 10) { |lines|
|
tmux.until(timeout: 20) { |lines|
|
||||||
lines.last =~ /^>/ && lines[-2] =~ /^ 100000/ }
|
lines.last =~ /^>/ && lines[-2] =~ /^ 100000/ }
|
||||||
lines = tmux.capture
|
lines = tmux.capture
|
||||||
assert_equal ' 2', lines[-4]
|
assert_equal ' 2', lines[-4]
|
||||||
|
Loading…
Reference in New Issue
Block a user