diff --git a/elfo-core/src/tracing/generator.rs b/elfo-core/src/tracing/generator.rs index d40fe511..26eee754 100644 --- a/elfo-core/src/tracing/generator.rs +++ b/elfo-core/src/tracing/generator.rs @@ -57,6 +57,8 @@ impl Generator { fn it_works() { use std::{sync::Arc, time::Duration}; + crate::node::set_node_no(65535); + let chunk_registry = Arc::new(ChunkRegistry::default()); let mut generator = Generator::default(); diff --git a/elfo-network/src/config.rs b/elfo-network/src/config.rs index 0ef805e0..cbac8f79 100644 --- a/elfo-network/src/config.rs +++ b/elfo-network/src/config.rs @@ -129,10 +129,6 @@ mod tests { Transport::from_str("tcp://127.0.0.1:4242").unwrap(), Transport::Tcp("127.0.0.1:4242".into()) ); - assert_eq!( - Transport::from_str("tcp://foobar").unwrap_err().to_string(), - "invalid TCP address" - ); // UDS #[cfg(unix)]