mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
Fix purge-chain test (#624)
* Fix purge-chain test * Update Substrate & Polkadot
This commit is contained in:
Generated
+360
-330
File diff suppressed because it is too large
Load Diff
@@ -53,8 +53,8 @@ fn purge_chain_works() {
|
|||||||
{
|
{
|
||||||
let base_path = run_node_and_stop();
|
let base_path = run_node_and_stop();
|
||||||
|
|
||||||
assert!(base_path.path().join("chains/local_testnet/db").exists());
|
assert!(base_path.path().join("chains/local_testnet/db/full").exists());
|
||||||
assert!(base_path.path().join("polkadot/chains/dev/db").exists());
|
assert!(base_path.path().join("polkadot/chains/dev/db/full").exists());
|
||||||
|
|
||||||
let status = Command::new(cargo_bin("polkadot-collator"))
|
let status = Command::new(cargo_bin("polkadot-collator"))
|
||||||
.args(&["purge-chain", "-d"])
|
.args(&["purge-chain", "-d"])
|
||||||
@@ -66,7 +66,7 @@ fn purge_chain_works() {
|
|||||||
|
|
||||||
// Make sure that the `parachain_local_testnet` chain folder exists, but the `db` is deleted.
|
// Make sure that the `parachain_local_testnet` chain folder exists, but the `db` is deleted.
|
||||||
assert!(base_path.path().join("chains/local_testnet").exists());
|
assert!(base_path.path().join("chains/local_testnet").exists());
|
||||||
assert!(!base_path.path().join("chains/local_testnet/db").exists());
|
assert!(!base_path.path().join("chains/local_testnet/db/full").exists());
|
||||||
// assert!(base_path.path().join("polkadot/chains/dev").exists());
|
// assert!(base_path.path().join("polkadot/chains/dev").exists());
|
||||||
// assert!(!base_path.path().join("polkadot/chains/dev/db").exists());
|
// assert!(!base_path.path().join("polkadot/chains/dev/db").exists());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user