aboutsummaryrefslogtreecommitdiff
path: root/test/py/test_migration.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/py/test_migration.py')
-rw-r--r--test/py/test_migration.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/py/test_migration.py b/test/py/test_migration.py
index 094a693..a4da41f 100644
--- a/test/py/test_migration.py
+++ b/test/py/test_migration.py
@@ -129,7 +129,7 @@ def test_migration_trans_async(mock_trans, mock_quiesce):
data = VFIO_DEVICE_STATE_SAVING.to_bytes(c.sizeof(c.c_int), 'little')
write_region(ctx, sock, VFU_PCI_DEV_MIGR_REGION_IDX, offset=0,
count=len(data), data=data, rsp=False,
- expect_run_ctx_errno=errno.EBUSY)
+ busy=True)
ret = vfu_device_quiesced(ctx, 0)
assert ret == 0
@@ -154,7 +154,7 @@ def test_migration_trans_async_err(mock_trans, mock_quiesce):
data = VFIO_DEVICE_STATE_RUNNING.to_bytes(c.sizeof(c.c_int), 'little')
write_region(ctx, sock, VFU_PCI_DEV_MIGR_REGION_IDX, offset=0,
count=len(data), data=data, rsp=False,
- expect_run_ctx_errno=errno.EBUSY)
+ busy=True)
ret = vfu_device_quiesced(ctx, 0)
assert ret == 0