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
2 changes: 2 additions & 0 deletions test/plugin/in_tail/test_compatibility.rb
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,8 @@ def test_receive_lines_returning_false_does_not_advance_the_position
plugin = d.instance
d.run do
tw = first_watcher(plugin)
# Only explicit notifications should drive this test, without stat or timer callbacks.
tw.watchers.each { |trigger| plugin.event_loop_detach(trigger) }
File.binwrite("#{@tmp_dir}/tail.txt", "test1\ntest2\n")

tw.on_notify
Expand Down
Loading