diff --git a/test/plugin/test_in_tail.rb b/test/plugin/test_in_tail.rb index c72073fd51..504c5035f3 100644 --- a/test/plugin/test_in_tail.rb +++ b/test/plugin/test_in_tail.rb @@ -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