Sets the partition polling order. `run()` polls these partitions in the listed order first. After those explicit reads are exhausted, it completes to round robin across all configured partitions, skipping any streams that have already finished. This allows testing early scheduling decisions explicit in a test while avoiding a fully scripted poll trace for the remainder.
(mut self, reads: Vec<PartitionId>)
| 1426 | /// This allows testing early scheduling decisions explicit in a test |
| 1427 | /// while avoiding a fully scripted poll trace for the remainder. |
| 1428 | fn with_reads(mut self, reads: Vec<PartitionId>) -> Self { |
| 1429 | self.reads = reads; |
| 1430 | self |
| 1431 | } |
| 1432 | |
| 1433 | /// Sets a global output limit for all streams created by this test. |
| 1434 | fn with_limit(mut self, limit: usize) -> Self { |
no outgoing calls
no test coverage detected