Skip to content

Commit ee56f9f

Browse files
committed
Ensure that tests that don't rely on flush disable it
1 parent 4182190 commit ee56f9f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/outputs/file_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@
119119
{
120120
"write_behavior" => "overwrite",
121121
"path" => tmp,
122-
"codec" => LogStash::Codecs::JSONLines.new
122+
"codec" => LogStash::Codecs::JSONLines.new,
123+
"flush_interval" => 0
123124
}
124125
}
125126
let(:output) { LogStash::Outputs::File.new(config) }

0 commit comments

Comments
 (0)