Skip to content

Commit

Permalink
Cleanup db directory after tests (#2752)
Browse files Browse the repository at this point in the history
* Cleanup db directory after tests

* Fix clean output dir windows

* Remove behind chain tests
  • Loading branch information
quentinlesceller authored and ignopeverell committed Apr 15, 2019
1 parent e8c5035 commit 606b465
Show file tree
Hide file tree
Showing 9 changed files with 1,034 additions and 966 deletions.
2 changes: 2 additions & 0 deletions chain/tests/data_file_integrity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ fn data_files() {
let chain = reload_chain(chain_dir);
chain.validate(false).unwrap();
}
// Cleanup chain directory
clean_output_dir(chain_dir);
}

fn _prepare_block(kc: &ExtKeychain, prev: &BlockHeader, chain: &Chain, diff: u64) -> Block {
Expand Down
Loading

0 comments on commit 606b465

Please sign in to comment.