A loop that runs the scripted cycles. Its liveness probe fails until the loop records an auction, and its startup probe fails until the first successful sync.
(
cycles: impl IntoIterator<Item = (bool, NextAuction<TestAuction>)>,
)
| 473 | /// the loop records an auction, and its startup probe fails until the |
| 474 | /// first successful sync. |
| 475 | fn scripted_loop( |
| 476 | cycles: impl IntoIterator<Item = (bool, NextAuction<TestAuction>)>, |
| 477 | ) -> ( |
| 478 | AuctionLoop<TestCycle>, |
| 479 | Arc<Liveness>, |
| 480 | Arc<Option<AtomicBool>>, |
| 481 | ) { |
| 482 | scripted_loop_with(Box::new(Stub), cycles) |
| 483 | } |
| 484 | |
| 485 | /// A [`scripted_loop`] whose cycles `trigger` fires. |
| 486 | fn scripted_loop_with( |
no test coverage detected