diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2015-03-07 09:53:54 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-03-07 09:53:54 +0900 |
commit | 87c71a3ea6fbc5dd343e92a166cb9478891274a9 (patch) | |
tree | 990b0b6e265d553217662add87cab6c7b59c8343 /test | |
parent | 06ab3994979278e33d4e7c6f02ae90055981eca8 (diff) |
Increase timeout in test cases
Diffstat (limited to 'test')
-rw-r--r-- | test/test_go.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_go.rb b/test/test_go.rb index 524e436a..299fefae 100644 --- a/test/test_go.rb +++ b/test/test_go.rb @@ -138,7 +138,7 @@ class Tmux end private def defaults opts - { timeout: 5, pane: 0 }.merge(opts) + { timeout: 10, pane: 0 }.merge(opts) end def wait opts = {} @@ -209,7 +209,7 @@ class TestGoFZF < TestBase def test_vanilla tmux.send_keys "seq 1 100000 | #{fzf}", :Enter - tmux.until(timeout: 10) { |lines| + tmux.until(timeout: 20) { |lines| lines.last =~ /^>/ && lines[-2] =~ /^ 100000/ } lines = tmux.capture assert_equal ' 2', lines[-4] |