record-daemon: fix failing test

This commit is contained in:
2026-03-21 00:39:04 +01:00
parent 03e36d0f1b
commit 8143610dad

View File

@@ -222,11 +222,11 @@ mod tests {
fn test_recording_stats_drop_rate() { fn test_recording_stats_drop_rate() {
let stats = RecordingStats { let stats = RecordingStats {
frames_recorded: 1000, frames_recorded: 1000,
frames_dropped: 50, frames_dropped: 40,
..Default::default() ..Default::default()
}; };
assert_eq!(stats.drop_rate(), 5.0); assert_eq!(stats.drop_rate(), 4.0);
assert!(stats.is_healthy()); assert!(stats.is_healthy());
} }
} }