From 0a69baeb3dd0bd85500ab1ca10d64e9c25e24356 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 25 Sep 2013 14:20:21 -0700 Subject: [PATCH] common/bloom_filter: disable sequential tests These are slow and are not useful. Signed-off-by: Sage Weil --- src/test/common/test_bloom_filter.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/test/common/test_bloom_filter.cc b/src/test/common/test_bloom_filter.cc index 5df2c15eb071d..d074407a85150 100644 --- a/src/test/common/test_bloom_filter.cc +++ b/src/test/common/test_bloom_filter.cc @@ -99,6 +99,12 @@ TEST(BloomFilter, SweepInt) { } } + +// disable these tests; doing dual insertions in consecutive filters +// appears to be equivalent to doing a single insertion in a bloom +// filter that is twice as big. +#if 0 + // test the fpp over a sequence of bloom filters, each with unique // items inserted into it. // @@ -176,3 +182,5 @@ TEST(BloomFilter, SequenceDouble) { << " expected " << (fpp*fpp*(double)seq) << std::endl; } } + +#endif -- 2.39.5