aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-06-29 02:09:20 +1400
committerMarcoFalke <falke.marco@gmail.com>2018-06-29 02:09:23 +1400
commitc93c360eec4de77af8aaa74d9140dba57160e30d (patch)
treeb4d88f4f831bb819d3d86bd1e796345decc98937
parent2328039bfc495f420e7aef157ae70ef4eb26e3b2 (diff)
parentea49e06c8211d8642a52a4b120c7b3d41836ea03 (diff)
Merge #13551: tests: Fix incorrect documentation for test case cuckoocache_hit_rate_ok
ea49e06c82 tests: Fix incorrect documentation for test case cuckoocache_hit_rate_ok (practicalswift) Pull request description: Fix incorrect documentation for test case `cuckoocache_hit_rate_ok`. Tree-SHA512: 2c1138953f077666c0bba784d9f5e5a627403dcd8b81851ca74793f1bf7bb5dc274af7887d51edb6669de1e9354ca7e5dfba80a3ce62f16eaaee6c6fa57b79f5
-rw-r--r--src/test/cuckoocache_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/cuckoocache_tests.cpp b/src/test/cuckoocache_tests.cpp
index 857ab8a1b7..2edc7c16d4 100644
--- a/src/test/cuckoocache_tests.cpp
+++ b/src/test/cuckoocache_tests.cpp
@@ -114,7 +114,7 @@ static double normalize_hit_rate(double hits, double load)
return hits * std::max(load, 1.0);
}
-/** Check the hit rate on loads ranging from 0.1 to 2.0 */
+/** Check the hit rate on loads ranging from 0.1 to 1.6 */
BOOST_AUTO_TEST_CASE(cuckoocache_hit_rate_ok)
{
/** Arbitrarily selected Hit Rate threshold that happens to work for this test