MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / no_timestamp

Function no_timestamp

nodedb/src/engine/timeseries/ilp.rs:241–245  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

239
240 #[test]
241 fn no_timestamp() {
242 let line = parse_line("cpu,host=a value=1.0").unwrap();
243 assert_eq!(line.measurement, "cpu");
244 assert_eq!(line.timestamp_ns, None);
245 }
246
247 #[test]
248 fn multiple_fields() {

Callers

nothing calls this directly

Calls 1

parse_lineFunction · 0.85

Tested by

no test coverage detected