Whamcloud - gitweb
LU-13138 tests: improve sanity/101d 'dd' parsing 88/53188/3
authorAndreas Dilger <adilger@whamcloud.com>
Tue, 21 Nov 2023 01:07:04 +0000 (18:07 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 13 Dec 2023 12:22:39 +0000 (12:22 +0000)
commit2d9b57dfc45d4ee247363f89e69021827916edee
treeed1e270fffb725aa24ea57b8e892a7bb4f658683
parente10487a19576fb660453c106674553972a52b519
LU-13138 tests: improve sanity/101d 'dd' parsing

If 'dd' takes a long time to complete, or if it finishes in an
exact number of seconds, it will not print a decimal point, so
the current regexp will fail to detect the runtime.

Improve test_101d to allow parsing the 'dd' runtime in this case.

Test-Parameters: trivial testlist=sanity env=ONLY=101d,ONLY_REPEAT=100
Fixes: 43ebfad490 ("LU-13138 tests: measure 'dd' time more accurately")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Icb030467c76947d0546916e11a91e5afb33ebbe5
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53188
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Alex Deiter <alex.deiter@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
lustre/tests/sanity.sh