mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-05-07 03:18:00 +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_dir_all(self.base_directory.join("data"))?;
|
||||
// Remove the node's database so that subsequent runs do not run on the same database. We
|
||||
// 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(())
|
||||
}
|
||||
|
||||
@@ -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_dir_all(self.base_directory.join("chains"))?;
|
||||
// Remove the node's database so that subsequent runs do not run on the same database. We
|
||||
// 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(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user