From: Sage Weil Date: Wed, 25 Sep 2013 21:20:21 +0000 (-0700) Subject: common/bloom_filter: disable sequential tests X-Git-Tag: v0.71~35^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0a69baeb3dd0bd85500ab1ca10d64e9c25e24356;p=ceph.git common/bloom_filter: disable sequential tests These are slow and are not useful. Signed-off-by: Sage Weil --- diff --git a/src/test/common/test_bloom_filter.cc b/src/test/common/test_bloom_filter.cc index 5df2c15eb071..d074407a8515 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