diff --git a/src/snmp/poller_registry.rs b/src/snmp/poller_registry.rs index 98bbc6b..f714e4e 100644 --- a/src/snmp/poller_registry.rs +++ b/src/snmp/poller_registry.rs @@ -112,6 +112,7 @@ mod tests { version: "2c".to_string(), community: SecretString::new("public"), v3_config: None, + transport: "udp".to_string(), }; // Create a poller @@ -132,6 +133,7 @@ mod tests { version: "2c".to_string(), community: SecretString::new("public"), v3_config: None, + transport: "udp".to_string(), }; let poller = DevicePoller::spawn("test-device".to_string(), config.clone());