]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rocksdb/db/options_file_test.cc
import quincy beta 17.1.0
[ceph.git] / ceph / src / rocksdb / db / options_file_test.cc
index 00427de8ab6d02d06f21520bb1d2aa8f81e21a06..7ad8464277904bf53447f1cc5ac296151052f603 100644 (file)
@@ -25,7 +25,7 @@ void UpdateOptionsFiles(DB* db,
                         std::unordered_set<std::string>* filename_history,
                         int* options_files_count) {
   std::vector<std::string> filenames;
-  db->GetEnv()->GetChildren(db->GetName(), &filenames);
+  EXPECT_OK(db->GetEnv()->GetChildren(db->GetName(), &filenames));
   uint64_t number;
   FileType type;
   *options_files_count = 0;
@@ -42,7 +42,7 @@ void VerifyOptionsFileName(
     DB* db, const std::unordered_set<std::string>& past_filenames) {
   std::vector<std::string> filenames;
   std::unordered_set<std::string> current_filenames;
-  db->GetEnv()->GetChildren(db->GetName(), &filenames);
+  EXPECT_OK(db->GetEnv()->GetChildren(db->GetName(), &filenames));
   uint64_t number;
   FileType type;
   for (auto filename : filenames) {