mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-26 21:49:49 +00:00
Fix purge-chain test (#624)
* Fix purge-chain test * Update Substrate & Polkadot
This commit is contained in:
1 parent
b75f18e71e
commit
0b921ddbc3
2 files changed
+363
-333
No files matched your search
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();
|
||||
|
||||
assert!(base_path.path().join("chains/local_testnet/db").exists());
|
||||
assert!(base_path.path().join("polkadot/chains/dev/db").exists());
|
||||
assert!(base_path.path().join("chains/local_testnet/db/full").exists());
|
||||
assert!(base_path.path().join("polkadot/chains/dev/db/full").exists());
|
||||
|
||||
let status = Command::new(cargo_bin("polkadot-collator"))
|
||||
.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.
|
||||
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/db").exists());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user