(timeout)
| 458 | consumer._wait_next_records = AsyncMock() |
| 459 | |
| 460 | async def on_wait(timeout): |
| 461 | consumer._stopped.set() |
| 462 | return None, None |
| 463 | |
| 464 | consumer._wait_next_records.side_effect = on_wait |
| 465 | assert [a async for a in consumer.getmany(1.0)] == [] |