Skip to content

Commit

Permalink
fix: triple persistance tests (#540)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppca authored Mar 28, 2024
1 parent b224e3e commit d131645
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions node/src/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -73,7 +74,7 @@ impl TestTripleManagers {
DEFAULT_TEST_CONFIG,
vec![],
triple_storage,
num.to_string().parse().unwrap(),
account_id.parse().unwrap(),
)
})
.collect();
Expand Down

0 comments on commit d131645

Please sign in to comment.