Disable AppendVec warn! for now (#14996)

* Disable AppendVed warn! for now

* Fix version...

* Update append_vec.rs
This commit is contained in:
Ryo Onodera 2021-02-02 23:52:30 +09:00 committed by GitHub
parent 3eea88a3a8
commit 31168fe343
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

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);
}
}
}