Skip to content

Commit

Permalink
test/e2e/double_signing: path for validator copy that keeps logs in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tzemanovic committed Jul 11, 2023
1 parent 3e0cf09 commit 6de8993
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/src/e2e/ledger_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4413,8 +4413,13 @@ fn double_signing_gets_slashed() -> Result<()> {

// 2. Copy the first genesis validator base-dir
let validator_0_base_dir = test.get_base_dir(&Who::Validator(0));
let validator_0_base_dir_copy =
test.test_dir.path().join("validator-0-copy");
let validator_0_base_dir_copy = test
.test_dir
.path()
.join(test.net.chain_id.as_str())
.join(client::utils::NET_ACCOUNTS_DIR)
.join("validator-0-copy")
.join(namada_apps::config::DEFAULT_BASE_DIR);
fs_extra::dir::copy(
validator_0_base_dir,
&validator_0_base_dir_copy,
Expand Down

0 comments on commit 6de8993

Please sign in to comment.