diff --git a/testing-framework/core/src/scenario/runtime/node_clients.rs b/testing-framework/core/src/scenario/runtime/node_clients.rs index 363e80d..ce31dcf 100644 --- a/testing-framework/core/src/scenario/runtime/node_clients.rs +++ b/testing-framework/core/src/scenario/runtime/node_clients.rs @@ -1,6 +1,6 @@ use rand::{seq::SliceRandom as _, thread_rng}; -use super::inventory::{BorrowedNode, ManagedNode, NodeInventory}; +use super::inventory::NodeInventory; use crate::scenario::{Application, DynError}; /// Collection of API clients for the node set. @@ -79,30 +79,6 @@ impl NodeClients { self.inventory.clear(); } - #[must_use] - /// Returns a cloned snapshot of managed node handles. - pub fn managed_nodes(&self) -> Vec> { - self.inventory.managed_nodes() - } - - #[must_use] - /// Returns a cloned snapshot of borrowed node handles. - pub fn borrowed_nodes(&self) -> Vec> { - self.inventory.borrowed_nodes() - } - - #[must_use] - /// Finds a managed node by canonical identity. - pub fn find_managed(&self, identity: &str) -> Option> { - self.inventory.find_managed(identity) - } - - #[must_use] - /// Finds a borrowed node by canonical identity. - pub fn find_borrowed(&self, identity: &str) -> Option> { - self.inventory.find_borrowed(identity) - } - fn shuffled_snapshot(&self) -> Vec { let mut clients = self.snapshot(); clients.shuffle(&mut thread_rng());