Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
node: Relax `routes_to` test function
cloudhead committed 2 years ago
commit cd4c44986aaaa537232d83efe4020c2349efa65b
parent 2011f2b06e7207498aa084a25583c3c96c782c2d
1 file changed +1 -4
modified radicle-node/src/test/environment.rs
@@ -227,10 +227,7 @@ impl<G: Signer + cyphernet::Ecdh> NodeHandle<G> {

            for (rid, nid) in self.routing() {
                if !remaining.remove(&(rid, nid)) {
-
                    panic!(
-
                        "Node::routes_to: unexpected route for {}: ({rid}, {nid})",
-
                        self.id
-
                    );
+
                    log::debug!(target: "test", "Found unexpected route for {}: ({rid}, {nid})", self.id);
                }
            }
            if remaining.is_empty() {