(id: &str, probe_type: &str, target: &str, interval: u32)
| 180 | assert!(!r.success); |
| 181 | } |
| 182 | |
| 183 | use serverbee_common::constants::{CAP_PING_HTTP, CAP_PING_ICMP, CAP_PING_TCP}; |
| 184 | |
| 185 | fn config(id: &str, probe_type: &str, target: &str, interval: u32) -> PingTaskConfig { |
| 186 | PingTaskConfig { |
| 187 | task_id: id.to_string(), |
| 188 | probe_type: probe_type.to_string(), |
| 189 | target: target.to_string(), |
| 190 | interval, |
| 191 | } |
| 192 | } |
no outgoing calls
no test coverage detected