Lines Matching full:pause
30 with iotests.Timeout(3, "Timeout waiting for job to pause"):
37 # Test that block-job-pause/resume and job-pause/resume can be mixed
39 for pause_cmd, pause_arg in [('block-job-pause', 'device'),
40 ('job-pause', 'id')]:
97 # pause/resume should work, complete/finalize/dismiss should error out
99 iotests.log('Pause/resume in RUNNING')
120 # pause/resume/complete should work, finalize/dismiss should error out
122 iotests.log('Pause/resume in READY')
145 # finalize should work, pause/complete/dismiss should error out
148 iotests.log(vm.qmp('job-pause', id='job0'))
152 iotests.log(vm.qmp('block-job-pause', device='job0'))
165 # dismiss should work, pause/complete/finalize should error out
168 iotests.log(vm.qmp('job-pause', id='job0'))
172 iotests.log(vm.qmp('block-job-pause', device='job0'))
205 # completion), but still get pause points often enough to avoid making this
211 # is 100ms. With a speed of 256k per second, we can get four pause points