mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 12:51:02 +00:00
Store the database in a role specific subdirectory (#2923)
* Store the database in a role specific subdirectory companion PR for https://github.com/paritytech/substrate/issues/6880 * fix test * update Substrate Co-authored-by: parity-processbot <>
This commit is contained in:
committed by
GitHub
parent
e31db19e13
commit
24b7ec9108
Generated
+153
-153
File diff suppressed because it is too large
Load Diff
@@ -56,7 +56,7 @@ fn purge_chain_works() {
|
|||||||
.unwrap();
|
.unwrap();
|
||||||
assert!(status.success());
|
assert!(status.success());
|
||||||
|
|
||||||
// Make sure that the `dev` chain folder exists, but the `db` is deleted.
|
// Make sure that the chain folder exists, but `db/full` is deleted.
|
||||||
assert!(tmpdir.path().join("chains/dev/").exists());
|
assert!(tmpdir.path().join("chains/dev").exists());
|
||||||
assert!(!tmpdir.path().join("chains/dev/db").exists());
|
assert!(!tmpdir.path().join("chains/dev/db/full").exists());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user