Skip to content

Commit ba7bc79

Browse files
committed
More lenient waiting for file removal
1 parent ac1fd91 commit ba7bc79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/inputs/file_read_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
end
3737

3838
events = input(conf) do |pipeline, queue|
39-
wait(0.5).for{File.exist?(tmpfile_path)}.to be_falsey
39+
wait(2).for{File.exist?(tmpfile_path)}.to be_falsey
4040
2.times.collect { queue.pop }
4141
end
4242

0 commit comments

Comments
 (0)