mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
tests: fix fluctuations in test coverage (#647)
This basically started once our integration tests caused the overall test time to raise above 10 minutes, causing some coverage data to be dropped because SimpleCov believed it to be stale.
This commit is contained in:
parent
65203bbd1e
commit
d59f0f77a7
@ -7,6 +7,11 @@ SimpleCov.start do
|
||||
coverage_dir File.expand_path("#{tests_path}/coverage")
|
||||
root File.expand_path("#{tests_path}/..")
|
||||
|
||||
# We manage the result cache ourselves and the default of 10 minutes can be
|
||||
# too low (particularly on Travis CI), causing results from some integration
|
||||
# tests to be dropped. This causes random fluctuations in test coverage.
|
||||
merge_timeout 86400
|
||||
|
||||
add_filter "/Homebrew/compat/"
|
||||
add_filter "/Homebrew/test/"
|
||||
add_filter "/Homebrew/vendor/"
|
||||
|
Loading…
x
Reference in New Issue
Block a user