mirror of
https://github.com/upa/mscp.git
synced 2026-02-04 03:24:58 +08:00
test: set min_chunk_sz to 32768 on test_min_chunk
Page size of arm mac is 16384.
This commit is contained in:
@@ -139,7 +139,7 @@ def test_min_chunk(mscp, src_prefix, dst_prefix):
|
|||||||
src = File("src", size = 16 * 1024).make()
|
src = File("src", size = 16 * 1024).make()
|
||||||
dst = File("dst")
|
dst = File("dst")
|
||||||
|
|
||||||
run2ok([mscp, "-H", "-s", 8192, src_prefix + src.path, dst_prefix + dst.path])
|
run2ok([mscp, "-H", "-s", 32768, src_prefix + src.path, dst_prefix + dst.path])
|
||||||
assert check_same_md5sum(src, dst)
|
assert check_same_md5sum(src, dst)
|
||||||
|
|
||||||
src.cleanup()
|
src.cleanup()
|
||||||
@@ -150,7 +150,7 @@ def test_thread_affinity(mscp, src_prefix, dst_prefix):
|
|||||||
src = File("src", size = 64 * 1024).make()
|
src = File("src", size = 64 * 1024).make()
|
||||||
dst = File("dst")
|
dst = File("dst")
|
||||||
|
|
||||||
run2ok([mscp, "-H", "-n", 4, "-m", "0x01", "-s", 8192, "-S", 65536,
|
run2ok([mscp, "-H", "-n", 4, "-m", "0x01",
|
||||||
src_prefix + src.path, dst_prefix + dst.path])
|
src_prefix + src.path, dst_prefix + dst.path])
|
||||||
assert check_same_md5sum(src, dst)
|
assert check_same_md5sum(src, dst)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user