The default 4MiB are probably too few because the internal ext4 extent size
seems to be 2MiB, so 4MiB are just 2 extents.
Change-Id: If40f0ad70c6787659a01ebc6473ed4189069d81e
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
# Create all the test-related temporary files in the default directory
# (usually /tmp).
directory = None
+ # Maximum size of the random files used in this test
+ max_size = 16 * 1024 * 1024
- iterator = tests.helpers.generate_test_files(delete = delete,
- directory = directory)
+ iterator = tests.helpers.generate_test_files(max_size, directory,
+ delete)
for f_image, mapped, holes in iterator:
_do_test(f_image, mapped, holes)