mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-06-19 19:11:04 +00:00
Fix tests
This commit is contained in:
@@ -283,8 +283,10 @@ impl Node for Instance {
|
|||||||
})?;
|
})?;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove the node's database so that subsequent runs do not run on the same database.
|
// Remove the node's database so that subsequent runs do not run on the same database. We
|
||||||
remove_dir_all(self.base_directory.join("data"))?;
|
// ignore the error just in case the directory didn't exist in the first place and therefore
|
||||||
|
// there's nothing to be deleted.
|
||||||
|
let _ = remove_dir_all(self.base_directory.join("data"));
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -412,8 +412,10 @@ impl Node for KitchensinkNode {
|
|||||||
})?;
|
})?;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove the node's database so that subsequent runs do not run on the same database.
|
// Remove the node's database so that subsequent runs do not run on the same database. We
|
||||||
remove_dir_all(self.base_directory.join("chains"))?;
|
// ignore the error just in case the directory didn't exist in the first place and therefore
|
||||||
|
// there's nothing to be deleted.
|
||||||
|
let _ = remove_dir_all(self.base_directory.join("data"));
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user