diff options
author | Alex Auvolat <alex@adnab.me> | 2024-02-14 10:04:46 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-02-15 12:15:35 +0100 |
commit | 125c662860621f9c834e254d62b29b5d5ace5dd4 (patch) | |
tree | eb32dadec4de88e5ec69dbdf5e73f68f9299201a /src/net/test.rs | |
parent | 5766befb245efba7d9241e2e2c68bcf4ed28d7a4 (diff) | |
download | garage-125c662860621f9c834e254d62b29b5d5ace5dd4.tar.gz garage-125c662860621f9c834e254d62b29b5d5ace5dd4.zip |
[import-netapp] move and rename FullMeshPeeringSrategy to PeeringManagerimport-netapp
Diffstat (limited to 'src/net/test.rs')
-rw-r--r-- | src/net/test.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/test.rs b/src/net/test.rs index d4da6f23..c6259752 100644 --- a/src/net/test.rs +++ b/src/net/test.rs @@ -9,7 +9,7 @@ use sodiumoxide::crypto::auth; use sodiumoxide::crypto::sign::ed25519; use crate::netapp::*; -use crate::peering::fullmesh::*; +use crate::peering::*; use crate::NodeID; #[tokio::test(flavor = "current_thread")] @@ -100,10 +100,10 @@ fn run_netapp( ) -> ( tokio::task::JoinHandle<()>, Arc<NetApp>, - Arc<FullMeshPeeringStrategy>, + Arc<PeeringManager>, ) { let netapp = NetApp::new(0u64, netid, sk); - let peering = FullMeshPeeringStrategy::new(netapp.clone(), bootstrap_peers, None); + let peering = PeeringManager::new(netapp.clone(), bootstrap_peers, None); let peering2 = peering.clone(); let netapp2 = netapp.clone(); |