Skip to content

Commit

Permalink
Merge pull request #2946 from ganmacs/remove-unnecessary-timeout
Browse files Browse the repository at this point in the history
Remove unnecessary timeout to fix unstable test
  • Loading branch information
ganmacs committed Apr 13, 2020
2 parents a8b6d6f + e063f89 commit 76de5c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/plugin/test_in_tail.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ def test_unwatched_files_should_be_removed
})
d = create_driver(config, false)
d.end_if { d.instance.instance_variable_get(:@tails).keys.size >= 1 }
d.run(expect_emits: 1, shutdown: false, timeout: 1) do
d.run(expect_emits: 1, shutdown: false) do
File.open("#{TMP_DIR}/tail.txt", "ab") { |f| f.puts "test3\n" }
end

Expand Down

0 comments on commit 76de5c7

Please sign in to comment.