Skip to content

Commit ac1fd91

Browse files
committed
Give more sleep time to execute removal
1 parent 7d30f8f commit ac1fd91

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
@@ -296,7 +296,7 @@
296296

297297
it 'removes watched file from collection' do
298298
wait_for_file_removal(sample_file) # watched discovery
299-
sleep(0.25) # give CI some space to execute the removal
299+
sleep(1) # give CI some space to execute the removal
300300
# TODO shouldn't be necessary once WatchedFileCollection does proper locking
301301
watched_files = plugin.watcher.watch.watched_files_collection
302302
expect( watched_files ).to be_empty

0 commit comments

Comments
 (0)