Skip to content

Commit c594bb5

Browse files
committed
tests/store_test: Split matrix tests into separate test cases
Modified structure of matrix-based unit tests. Now each test case can be invoked separately. New matrix tests are hard bound to "BlueStore". Now: ... BlueStore/SyntheticShardingLimited. Test/0 # GetParam() = { 65536, 10000, 65536, 262144, 4096, 1000, 65536, 60, 300, 150, true, true } Test/1 # GetParam() = { 4096, 10000, 65536, 262144, 4096, 1000, 65536, 60, 300, 150, true, true } Test/2 # GetParam() = { 65536, 10000, 65536, 262144, 4096, 200, 65536, 60, 300, 150, true, true } Test/3 # GetParam() = { 4096, 10000, 65536, 262144, 4096, 200, 65536, 60, 300, 150, true, true } Test/4 # GetParam() = { 65536, 10000, 65536, 262144, 4096, 50, 65536, 60, 300, 150, true, true } Test/5 # GetParam() = { 4096, 10000, 65536, 262144, 4096, 50, 65536, 60, 300, 150, true, true } BlueStore/SyntheticMatrixCsumAlgorithm. Test/0 # GetParam() = { 65536, 65536, 1048576, 16, crc32c, false } Test/1 # GetParam() = { 65536, 65536, 1048576, 16, crc32c_16, false } Test/2 # GetParam() = { 65536, 65536, 1048576, 16, crc32c_8, false } Test/3 # GetParam() = { 65536, 65536, 1048576, 16, xxhash32, false } Test/4 # GetParam() = { 65536, 65536, 1048576, 16, xxhash64, false } Test/5 # GetParam() = { 65536, 65536, 1048576, 16, none, false } BlueStore/SyntheticMatrixCsumVsCompression. Test/0 # GetParam() = { 4096, 131072, 262144, 512, force, snappy, crc32c, true, true, false } Test/1 # GetParam() = { 16384, 131072, 262144, 512, force, snappy, crc32c, true, true, false } Test/2 # GetParam() = { 4096, 131072, 262144, 512, force, zlib, crc32c, true, true, false } Test/3 # GetParam() = { 16384, 131072, 262144, 512, force, zlib, crc32c, true, true, false } ... Before: ... SyntheticLimited/0 # GetParam() = "memstore" SyntheticLimited/1 # GetParam() = "bluestore" SyntheticLimited/2 # GetParam() = "kstore" SyntheticMatrixCsumAlgorithm/0 # GetParam() = "memstore" SyntheticMatrixCsumAlgorithm/1 # GetParam() = "bluestore" SyntheticMatrixCsumAlgorithm/2 # GetParam() = "kstore" SyntheticMatrixCsumVsCompression/0 # GetParam() = "memstore" SyntheticMatrixCsumVsCompression/1 # GetParam() = "bluestore" SyntheticMatrixCsumVsCompression/2 # GetParam() = "kstore" ... Signed-off-by: Adam Kupczyk <[email protected]>
1 parent 08d35a8 commit c594bb5

File tree

1 file changed

+256
-239
lines changed

1 file changed

+256
-239
lines changed

0 commit comments

Comments
 (0)