generic_storage_examples

Examples for testing storage components.

Inherit

BadBlocks2GB

When run alone, this takes ~.5s/MiB (for four passes). We’ll do a gigabyte, which takes about 9 minutes.

pytest_name

bad_blocks

args

timeout_secs
120
log_threshold_secs
10
max_bytes
2147483648

BadBlocksForceOnSSD

When run alone, this takes ~.5s/MiB (for four passes). We’ll do a gigabyte, which takes about 9 minutes.

pytest_name

bad_blocks

args

timeout_secs
120
log_threshold_secs
10
max_bytes
1073741824
force_badblocks_on_ssd
true

BadBlocksForceOnSSD10MB

When run alone, this takes ~.5s/MiB (for four passes). We’ll do a gigabyte, which takes about 9 minutes.

pytest_name

bad_blocks

args

timeout_secs
120
log_threshold_secs
10
max_bytes
10240
force_badblocks_on_ssd
true

StorageSimpleStress

pytest_name

storage_simple_stress

args

operations
1
dir
"/home/root"
file_size
10485760

StorageSimpleStress3Times

pytest_name

storage_simple_stress

args

operations
3
dir
"/home/root"
file_size
10485760