]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commitdiff
Fix test PartitionedMultiGet in db_bloom_filter_test
authorPeter Dillinger <peterd@fb.com>
Thu, 4 Jun 2020 03:11:16 +0000 (20:11 -0700)
committerPeter Dillinger <peterd@fb.com>
Thu, 4 Jun 2020 03:11:16 +0000 (20:11 -0700)
Partial back-port of #6905

db/db_bloom_filter_test.cc

index 989ce7d76b28dfa99459188ba921a99cd99493bd..475e79402aab81a07b034c308a18b0bba8810722 100644 (file)
@@ -1063,12 +1063,12 @@ TEST_P(DBBloomFilterTestVaryPrefixAndFormatVer, PartitionedMultiGet) {
   bbto.partition_filters = true;
   bbto.index_type = BlockBasedTableOptions::IndexType::kTwoLevelIndexSearch;
   bbto.whole_key_filtering = !use_prefix_;
-  bbto.metadata_block_size = 128;
+  bbto.metadata_block_size = 290;
   options.table_factory.reset(NewBlockBasedTableFactory(bbto));
   DestroyAndReopen(options);
   ReadOptions ropts;
 
-  constexpr uint32_t N = 10000;
+  constexpr uint32_t N = 12000;
   // Add N/2 evens
   for (uint32_t i = 0; i < N; i += 2) {
     ASSERT_OK(Put(UKey(i), UKey(i)));