I found it was a useful pattern to temporarily speed up the status-update hook firing rate.
This looks like a job for a context manager.
Proposal:
async with ops_test.fast_forward('10s'):
# do stuff which might take some time to reflect on the workload status
assert ops_test.model.wait_for_idle(...)
I found it was a useful pattern to temporarily speed up the status-update hook firing rate. This looks like a job for a context manager.
Proposal: