summaryrefslogtreecommitdiffstats
path: root/src/usecase/detect.rs
diff options
context:
space:
mode:
authoraur-build <aur-build@localhost>2026-11-19 19:50:24 +0000
committeraur-build <aur-build@localhost>2026-11-19 19:50:24 +0000
commit768da4fd62b390014fcaf55e23dbb45ca61ad79b (patch)
treed92601ec5ac16e37440b2dc13e06edd97f02e30f /src/usecase/detect.rs
parentbc4916d4a7de6a60d8b73ed7e3ccc0ec0695d580 (diff)
downloadaur-build-768da4fd62b390014fcaf55e23dbb45ca61ad79b.tar.gz
aur-build-768da4fd62b390014fcaf55e23dbb45ca61ad79b.zip
time: a wait seam the control loops call through
The dispatcher tick, watcher tick, SSE poll, agent watchdog and remote keepalive each slept on the wall clock in their own slice loop, so every test that wanted a tick waited for real time. They call crate::time::wait/sleep now, which is the same real sleep in a production build and a virtual clock advance under test-support: a test that takes the clock owns it, and threads it spawns inherit it. production_surface checks the virtual path is compiled out and that no control loop went back to std::thread::sleep.
Diffstat (limited to 'src/usecase/detect.rs')
0 files changed, 0 insertions, 0 deletions