Fixed test failures

This commit is contained in:
Jan-Peter von Hunnius 2025-09-30 10:23:17 +02:00
parent c8552a1488
commit 0e0713c3a0
4 changed files with 83 additions and 10 deletions

View file

@ -53,6 +53,7 @@ impl Intel400xAddressHandling for MockComponent {
#[cfg(test)]
mod tests {
use std::thread;
use super::*;
#[test]
@ -298,6 +299,8 @@ mod tests {
false
);
thread::sleep(Duration::from_micros(1));
// Test with recent latch time (should return false if not enough time elapsed)
let recent_time = Some(Instant::now());
assert_eq!(