Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/plugin/test_in_tail.rb
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ def test_emit_with_read_lines_limit(data)
d = create_driver(config)
msg = 'x' * 65000 # in_tail reads 65536 bytes at once.

d.run(expect_emits: num_events, timeout: 2) do
d.run(expect_emits: num_events, timeout: 10) do
Fluent::FileWrapper.open("#{@tmp_dir}/tail.txt", "ab") {|f|
f.puts msg
f.puts msg
Expand Down Expand Up @@ -792,7 +792,7 @@ def test_watch_wildcard_path_without_watch_timer

d = create_driver(config, false)

d.run(expect_emits: 1, timeout: 1) do
d.run(expect_emits: 1, timeout: 10) do
Fluent::FileWrapper.open("#{@tmp_dir}/tail.txt", "ab") {|f|
f.puts "test3"
f.puts "test4"
Expand Down Expand Up @@ -834,7 +834,7 @@ def test_emit_with_disable_stat_watcher(data)
def test_always_read_from_head_on_detecting_a_new_file
d = create_driver(SINGLE_LINE_CONFIG)

d.run(expect_emits: 1, timeout: 3) do
d.run(expect_emits: 1, timeout: 10) do
Fluent::FileWrapper.open("#{@tmp_dir}/tail.txt", "wb") {|f|
f.puts "test1\ntest2\n"
}
Expand Down
Loading