Skip to content
Snippets Groups Projects
Commit d902aa90 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Fix purge-chain test (#624)

* Fix purge-chain test

* Update Substrate & Polkadot
parent ed60e693
No related merge requests found
This diff is collapsed.
......@@ -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());
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment