Skip to content

Commit 67dfcc1

Browse files
committed
Fix test/bloom_tests.cpp file
1 parent 4ad82cc commit 67dfcc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/bloom_tests.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ BOOST_AUTO_TEST_CASE(rolling_bloom)
491491
++nHits;
492492
}
493493
// Expect about 100 hits
494-
BOOST_CHECK_EQUAL(nHits, 75U);
494+
BOOST_CHECK_EQUAL(nHits, 71U);
495495

496496
BOOST_CHECK(rb1.contains(data[DATASIZE-1]));
497497
rb1.reset();
@@ -519,7 +519,7 @@ BOOST_AUTO_TEST_CASE(rolling_bloom)
519519
++nHits;
520520
}
521521
// Expect about 5 false positives
522-
BOOST_CHECK_EQUAL(nHits, 6U);
522+
BOOST_CHECK_EQUAL(nHits, 3U);
523523

524524
// last-1000-entry, 0.01% false positive:
525525
CRollingBloomFilter rb2(1000, 0.001);

0 commit comments

Comments
 (0)