From b3fbb0c828e54c70b76c7efd2da3d05b5c351fc1 Mon Sep 17 00:00:00 2001 From: Lijun Wang <83639177+lijunwangs@users.noreply.github.com> Date: Thu, 30 Jan 2025 06:05:50 -0800 Subject: [PATCH] added debug messages --- local-cluster/tests/local_cluster.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/local-cluster/tests/local_cluster.rs b/local-cluster/tests/local_cluster.rs index e3010cd9eb7ced..821781b7dc3e31 100644 --- a/local-cluster/tests/local_cluster.rs +++ b/local-cluster/tests/local_cluster.rs @@ -1448,6 +1448,8 @@ fn test_snapshots_restart_validity() { 10, ); + trace!("Waiting for for full snapshot"); + expected_balances.extend(new_balances); cluster.wait_for_next_full_snapshot( @@ -1455,6 +1457,8 @@ fn test_snapshots_restart_validity() { Some(Duration::from_secs(5 * 60)), ); + trace!("generate_account_paths..."); + // Create new account paths since validator exit is not guaranteed to cleanup RPC threads, // which may delete the old accounts on exit at any point let (new_account_storage_dirs, new_account_storage_paths) =