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>)>,
)
| 506 | /// the loop records an auction, and its startup probe fails until the |
| 507 | /// first successful sync. |
| 508 | fn scripted_loop( |
| 509 | cycles: impl IntoIterator<Item = (bool, NextAuction<TestAuction>)>, |
| 510 | ) -> ( |
| 511 | AuctionLoop<TestCycle>, |
| 512 | Arc<Liveness>, |
| 513 | Arc<Option<AtomicBool>>, |
| 514 | ) { |
| 515 | scripted_loop_with(Box::new(Stub), cycles) |
| 516 | } |
| 517 | |
| 518 | /// A [`scripted_loop`] whose cycles `trigger` fires. |
| 519 | fn scripted_loop_with( |
no test coverage detected