]> www.infradead.org Git - users/sagi/blktests.git/commit
block/011: set default timeout to 20 minutes
authorShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Tue, 31 Oct 2023 00:19:13 +0000 (09:19 +0900)
committerShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Thu, 7 Dec 2023 01:12:04 +0000 (10:12 +0900)
commite8c061c196fe7b412a08205c90d6c1a99ca79df9
treea1cdf4e812b33f110ba40670cd90b10d02106785
parent1e6721b87d5e4c782eddc91c97dfd377cd2692b1
block/011: set default timeout to 20 minutes

The test case runs fio while disabling and enabling PCI device of the
test target block device. Depending on the device type, it takes very
long time to re-enable the device. At worst case, it takes 4 hours to
complete the test case.

To avoid the meaningless long test runtime, set default timeout limit. I
ran the test case on various devices: real NVME SSD, QEMU NVME
emulation, HDDs with AHCI, HDDs with SAS-HBA. Many of them takes less
than 20 minutes to complete and pass the test case. Hence, choose 20
minutes as the timeout duration.

Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
tests/block/011