diff --git a/util/env_basic_test.cc b/util/env_basic_test.cc index 9626097ba..336e392fa 100644 --- a/util/env_basic_test.cc +++ b/util/env_basic_test.cc @@ -231,15 +231,6 @@ TEST_P(EnvBasicTestWithParam, ReadWrite) { ASSERT_TRUE(rand_file->Read(1000, 5, &result, scratch).ok()); } -TEST_P(EnvBasicTestWithParam, Locks) { - FileLock* lock; - - // only test they return success. - // TODO(andrewkr): verify functionality - ASSERT_OK(env_->LockFile(test_dir_ + "lock_file", &lock)); - ASSERT_OK(env_->UnlockFile(lock)); -} - TEST_P(EnvBasicTestWithParam, Misc) { unique_ptr writable_file; ASSERT_OK(env_->NewWritableFile(test_dir_ + "/b", &writable_file, soptions_)); diff --git a/utilities/backupable/backupable_db.cc b/utilities/backupable/backupable_db.cc index 2ce1e0490..0dc7092b3 100644 --- a/utilities/backupable/backupable_db.cc +++ b/utilities/backupable/backupable_db.cc @@ -560,7 +560,7 @@ Status BackupEngineImpl::Initialize() { { auto s = backup_env_->GetChildren(GetBackupMetaDir(), &backup_meta_files); if (!s.ok()) { - return Status::NotFound("%s not found", GetBackupMetaDir()); + return Status::NotFound(GetBackupMetaDir() + " is missing"); } } // create backups_ structure