3f8ead5a29
random.randint is inclusive on both ends, unlike random.randrange. As a result, we could previously (rarely) select an end value *exactly equal* to len(whole_file_bytes), causing an error like pyeclib.ec_iface.ECInvalidParameter: pyeclib_c_decode invalid range ERROR: Invalid arguments. Please inspect syslog for liberasurecode error report. Change-Id: I842fbbc2eb1f8c4a1d4eb53597ad14cce4eb3dcf |
||
---|---|---|
.. | ||
test_files | ||
__init__.py | ||
ec_pyeclib_file_test.sh | ||
run_core_tests_manual.py | ||
run_core_tests_manual_valgrind.py | ||
test_pyeclib_api.py | ||
test_pyeclib_c.py |