summaryrefslogtreecommitdiff
path: root/test/test_pyeclib_api.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_pyeclib_api.py')
-rw-r--r--test/test_pyeclib_api.py24
1 files changed, 6 insertions, 18 deletions
diff --git a/test/test_pyeclib_api.py b/test/test_pyeclib_api.py
index 91a83a0..9e5df37 100644
--- a/test/test_pyeclib_api.py
+++ b/test/test_pyeclib_api.py
@@ -128,13 +128,10 @@ class TestPyECLibDriver(unittest.TestCase):
k=12, m=3, ec_type="jerasure_rs_vand", chksum_type="algsig"))
pyeclib_drivers.append(
ECDriver("pyeclib.core.ECPyECLibDriver",
- k=12, m=6, ec_type="flat_xor_hd_4", chksum_type="algsig"))
+ k=12, m=6, ec_type="flat_xor_hd", chksum_type="algsig"))
pyeclib_drivers.append(
ECDriver("pyeclib.core.ECPyECLibDriver",
- k=10, m=5, ec_type="flat_xor_hd_4", chksum_type="algsig"))
- pyeclib_drivers.append(
- ECDriver("pyeclib.core.ECPyECLibDriver",
- k=10, m=5, ec_type="flat_xor_hd_3", chksum_type="algsig"))
+ k=10, m=5, ec_type="flat_xor_hd", chksum_type="algsig"))
filesize = 1024 * 1024 * 3
file_str = ''.join(random.choice(ascii_letters) for i in range(filesize))
@@ -169,13 +166,10 @@ class TestPyECLibDriver(unittest.TestCase):
k=12, m=3, ec_type="jerasure_rs_vand", chksum_type="algsig"))
pyeclib_drivers.append(
ECDriver("pyeclib.core.ECPyECLibDriver",
- k=12, m=6, ec_type="flat_xor_hd_4", chksum_type="algsig"))
- pyeclib_drivers.append(
- ECDriver("pyeclib.core.ECPyECLibDriver",
- k=10, m=5, ec_type="flat_xor_hd_4", chksum_type="algsig"))
+ k=12, m=6, ec_type="flat_xor_hd", chksum_type="algsig"))
pyeclib_drivers.append(
ECDriver("pyeclib.core.ECPyECLibDriver",
- k=10, m=5, ec_type="flat_xor_hd_3", chksum_type="algsig"))
+ k=10, m=5, ec_type="flat_xor_hd", chksum_type="algsig"))
filesize = 1024 * 1024 * 3
file_str = ''.join(random.choice(ascii_letters) for i in range(filesize))
@@ -358,16 +352,10 @@ class TestPyECLibDriver(unittest.TestCase):
k=12, m=3, ec_type="jerasure_rs_cauchy"))
pyeclib_drivers.append(
ECDriver("pyeclib.core.ECPyECLibDriver",
- k=12, m=6, ec_type="flat_xor_hd_4"))
- pyeclib_drivers.append(
- ECDriver("pyeclib.core.ECPyECLibDriver",
- k=10, m=5, ec_type="flat_xor_hd_4"))
- pyeclib_drivers.append(
- ECDriver("pyeclib.core.ECPyECLibDriver",
- k=10, m=5, ec_type="flat_xor_hd_3"))
+ k=12, m=6, ec_type="flat_xor_hd"))
pyeclib_drivers.append(
ECDriver("pyeclib.core.ECPyECLibDriver",
- k=9, m=5, ec_type="flat_xor_hd_3"))
+ k=10, m=5, ec_type="flat_xor_hd"))
for pyeclib_driver in pyeclib_drivers:
for file_size in self.file_sizes: