mirror of
https://git.ghostchain.io/proxmio/ghost-node.git
synced 2025-12-27 03:09:56 +00:00
rustfmt tests and fix typos
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
@@ -38,7 +38,9 @@ async fn purge_chain_rocksdb_works() {
|
||||
// Send SIGINT to node
|
||||
kill(Pid::from_raw(cmd.id().try_into().unwrap()), SIGINT).unwrap();
|
||||
// Wait for the node to handle it and exit.
|
||||
assert!(common::wait_for(&mut cmd, 30).map(|x| x.success()).unwrap_or_default());
|
||||
assert!(common::wait_for(&mut cmd, 30)
|
||||
.map(|x| x.success())
|
||||
.unwrap_or_default());
|
||||
assert!(tmpdir.path().join("chains/dev").exists());
|
||||
assert!(tmpdir.path().join("chains/dev/db/full").exists());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user