diff options
author | Sage Weil <sage@inktank.com> | 2013-09-25 14:20:21 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-10-02 14:09:13 -0700 |
commit | 52a4ccc2b62691fdf031cebca008caf25121cd8b (patch) | |
tree | 9561b3f977d52495862ffeaa17daed140706ffbb | |
parent | a36cf13c772621a2f974c8c0251e8f3b49da7555 (diff) | |
download | ceph-52a4ccc2b62691fdf031cebca008caf25121cd8b.tar.gz |
common/bloom_filter: disable sequential tests
These are slow and are not useful.
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r-- | src/test/common/test_bloom_filter.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/common/test_bloom_filter.cc b/src/test/common/test_bloom_filter.cc index 84e2a67a62a..79624a78f8e 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 |