aboutsummaryrefslogtreecommitdiff
path: root/test/py/test_sgl_read_write.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/py/test_sgl_read_write.py')
-rw-r--r--test/py/test_sgl_read_write.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/test_sgl_read_write.py b/test/py/test_sgl_read_write.py
index 2f4e992..2400080 100644
--- a/test/py/test_sgl_read_write.py
+++ b/test/py/test_sgl_read_write.py
@@ -156,7 +156,7 @@ def test_dma_read_write():
def test_dma_read_write_large():
ret, sg = vfu_addr_to_sgl(ctx,
dma_addr=MAP_ADDR + 0x1000,
- length=2 * PAGE_SIZE,
+ length=2 * PAGE_SIZE + 42,
max_nr_sgs=1,
prot=mmap.PROT_READ | mmap.PROT_WRITE)
assert ret == 1