Disable AppendVec warn! for now (bp #14996) (#15000)

* Disable AppendVec warn! for now (#14996)

* Disable AppendVed warn! for now

* Fix version...

* Update append_vec.rs

(cherry picked from commit 31168fe343)

# Conflicts:
#	runtime/src/append_vec.rs

* Update append_vec.rs

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
This commit is contained in:
mergify[bot]
2021-02-03 14:57:12 +00:00
committed by GitHub
parent a62dd946fe
commit c440b6df99

View File

@ -115,9 +115,11 @@ pub struct AppendVec {
impl Drop for AppendVec {
fn drop(&mut self) {
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);
}
}
}