From d131645a93fb468abbbb6c20cecd8964b675a4d3 Mon Sep 17 00:00:00 2001 From: ppca Date: Wed, 27 Mar 2024 18:09:00 -0700 Subject: [PATCH] fix: triple persistance tests (#540) --- node/src/test_utils.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/node/src/test_utils.rs b/node/src/test_utils.rs index a62be72fc..74ddd9f11 100644 --- a/node/src/test_utils.rs +++ b/node/src/test_utils.rs @@ -63,8 +63,9 @@ impl TestTripleManagers { let managers = (0..num_managers) .map(|num| { + let account_id = format!("account_{num}.testnet"); let triple_storage: LockTripleNodeStorageBox = Arc::new(RwLock::new( - storage::triple_storage::init(gcp_service.as_ref(), num.to_string()), + storage::triple_storage::init(gcp_service.as_ref(), account_id.clone()), )); TripleManager::new( Participant::from(num), @@ -73,7 +74,7 @@ impl TestTripleManagers { DEFAULT_TEST_CONFIG, vec![], triple_storage, - num.to_string().parse().unwrap(), + account_id.parse().unwrap(), ) }) .collect();