Suppress file deletion error message in FaultInjectionTestFS (#6694)
Summary: The error message is causing problems in the crash tests due to the error parsing logic in db_crashtest.py. Pull Request resolved: https://github.com/facebook/rocksdb/pull/6694 Reviewed By: siying Differential Revision: D20998531 Pulled By: anand1976 fbshipit-source-id: 89cb54a5f5bb664ae6d239c37559f10e14c5ea07
This commit is contained in:
parent
9eca6d651d
commit
d9cad3a526
@ -335,10 +335,6 @@ IOStatus FaultInjectionTestFS::DeleteFile(const std::string& f,
|
||||
return GetError();
|
||||
}
|
||||
IOStatus io_s = FileSystemWrapper::DeleteFile(f, options, dbg);
|
||||
if (!io_s.ok()) {
|
||||
fprintf(stderr, "Cannot delete file %s: %s\n", f.c_str(),
|
||||
io_s.ToString().c_str());
|
||||
}
|
||||
if (io_s.ok()) {
|
||||
UntrackFile(f);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user