From 6de8993bf27583e41a3b995a52de394526e339cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Zemanovi=C4=8D?= Date: Tue, 11 Jul 2023 08:04:53 +0100 Subject: [PATCH] test/e2e/double_signing: path for validator copy that keeps logs in CI --- tests/src/e2e/ledger_tests.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/src/e2e/ledger_tests.rs b/tests/src/e2e/ledger_tests.rs index 3f22402c2c..3c16d724e2 100644 --- a/tests/src/e2e/ledger_tests.rs +++ b/tests/src/e2e/ledger_tests.rs @@ -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,