aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMartin Afanasjew2016-08-06 04:24:18 +0200
committerGitHub2016-08-06 04:24:18 +0200
commitd59f0f77a7513f85bb8f27dd81f2ee08a2ad7605 (patch)
treeb7378d323a70cdaee78992fef1ed63fc3935c113 /Library/Homebrew
parent65203bbd1ea4513b4db3b7ed151626e1338ae70a (diff)
downloadbrew-d59f0f77a7513f85bb8f27dd81f2ee08a2ad7605.tar.bz2
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.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/test/.simplecov5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/test/.simplecov b/Library/Homebrew/test/.simplecov
index 19363a01e..e61623081 100644
--- a/Library/Homebrew/test/.simplecov
+++ b/Library/Homebrew/test/.simplecov
@@ -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/"