Repository: mesos Updated Branches: refs/heads/master cf801e78f -> eb4d4428f
Decrease countCacheEntries in FetcherCacheTest.SimpleEviction. Review: https://reviews.apache.org/r/43316/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/eb4d4428 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/eb4d4428 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/eb4d4428 Branch: refs/heads/master Commit: eb4d4428f509a7d117ee2333ac16bf8bd32aa7ba Parents: cf801e7 Author: haosdent huang <[email protected]> Authored: Tue Feb 16 19:02:59 2016 +0100 Committer: Bernd Mathiske <[email protected]> Committed: Tue Feb 16 19:02:59 2016 +0100 ---------------------------------------------------------------------- src/tests/fetcher_cache_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/eb4d4428/src/tests/fetcher_cache_tests.cpp ---------------------------------------------------------------------- diff --git a/src/tests/fetcher_cache_tests.cpp b/src/tests/fetcher_cache_tests.cpp index 1cf4566..fc89be4 100644 --- a/src/tests/fetcher_cache_tests.cpp +++ b/src/tests/fetcher_cache_tests.cpp @@ -1248,7 +1248,7 @@ TEST_F(FetcherCacheHttpTest, DISABLED_HttpCachedRecovery) // observe how the number of cache files rises and then stays constant. TEST_F(FetcherCacheTest, SimpleEviction) { - const size_t countCacheEntries = 3; + const size_t countCacheEntries = 2; // Let only the first 'countCacheEntries' downloads fit in the cache. flags.fetcher_cache_size = COMMAND_SCRIPT.size() * countCacheEntries;
