fix tests
This commit is contained in:
parent
f454a1f7ea
commit
55d55a2c86
1 changed files with 2 additions and 0 deletions
|
|
@ -112,6 +112,7 @@ mod tests {
|
||||||
version: "2c".to_string(),
|
version: "2c".to_string(),
|
||||||
community: SecretString::new("public"),
|
community: SecretString::new("public"),
|
||||||
v3_config: None,
|
v3_config: None,
|
||||||
|
transport: "udp".to_string(),
|
||||||
};
|
};
|
||||||
|
|
||||||
// Create a poller
|
// Create a poller
|
||||||
|
|
@ -132,6 +133,7 @@ mod tests {
|
||||||
version: "2c".to_string(),
|
version: "2c".to_string(),
|
||||||
community: SecretString::new("public"),
|
community: SecretString::new("public"),
|
||||||
v3_config: None,
|
v3_config: None,
|
||||||
|
transport: "udp".to_string(),
|
||||||
};
|
};
|
||||||
|
|
||||||
let poller = DevicePoller::spawn("test-device".to_string(), config.clone());
|
let poller = DevicePoller::spawn("test-device".to_string(), config.clone());
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue