]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/test/objectstore/TestRocksdbOptionParse.cc
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / test / objectstore / TestRocksdbOptionParse.cc
index aae81bed4d612df3384b00a836f43112721d4194..c2b08735383ee374b69e50027a035b3a672e683a 100644 (file)
@@ -13,7 +13,8 @@ const string dir("rocksdb.test_temp_dir");
 TEST(RocksDBOption, simple) {
   rocksdb::Options options;
   rocksdb::Status status;
-  RocksDBStore *db = new RocksDBStore(g_ceph_context, dir, NULL);
+  map<string,string> kvoptions;
+  RocksDBStore *db = new RocksDBStore(g_ceph_context, dir, kvoptions, NULL);
   string options_string = ""
                          "write_buffer_size=536870912;"
                          "create_if_missing=true;"
@@ -42,7 +43,8 @@ TEST(RocksDBOption, simple) {
 TEST(RocksDBOption, interpret) {
   rocksdb::Options options;
   rocksdb::Status status;
-  RocksDBStore *db = new RocksDBStore(g_ceph_context, dir, NULL);
+  map<string,string> kvoptions;
+  RocksDBStore *db = new RocksDBStore(g_ceph_context, dir, kvoptions, NULL);
   string options_string = "compact_on_mount = true; compaction_threads=10;flusher_threads=5;";
   
   int r = db->ParseOptionsFromString(options_string, options);