Disable AppendVec warn! for now (#14996) (#15001)

* Disable AppendVed warn! for now

* Fix version...

* Update append_vec.rs

(cherry picked from commit 31168fe343)

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
This commit is contained in:
mergify[bot]
2021-02-02 16:09:49 +00:00
committed by GitHub
parent 5da9e7cb8a
commit 066ff36175

View File

@ -129,9 +129,11 @@ pub struct AppendVec {
impl Drop for AppendVec {
fn drop(&mut self) {
if self.remove_on_drop {
if let Err(e) = remove_file(&self.path) {
if let Err(_e) = remove_file(&self.path) {
// promote this to panic soon.
error!("AppendVec failed to remove {:?}: {:?}", &self.path, e);
// disabled due to many false positive warnings while running tests.
// blocked by rpc's updrade to jsonrpc v17
//error!("AppendVec failed to remove {:?}: {:?}", &self.path, e);
}
}
}