Skip to content

Commit

Permalink
Merge pull request #3167 from kenhys/relax-timeout-waiting-event
Browse files Browse the repository at this point in the history
windows test in_tail: relax timeout limitation to receive events
  • Loading branch information
repeatedly authored Nov 13, 2020
2 parents 6757d70 + 6a7c8a6 commit 644ac50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/plugin/test_in_tail.rb
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def test_emit_with_read_lines_limit(data)
d = create_driver(config)
msg = 'test' * 2000 # in_tail reads 8192 bytes at once.

d.run(expect_emits: num_events, timeout: 1) do
d.run(expect_emits: num_events, timeout: 2) do
File.open("#{TMP_DIR}/tail.txt", "ab") {|f|
f.puts msg
f.puts msg
Expand Down

0 comments on commit 644ac50

Please sign in to comment.