Whamcloud - gitweb
LU-17265 tests: allow margin for sanity/39r 35/53035/5
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Wed, 8 Nov 2023 06:38:07 +0000 (12:08 +0530)
committerOleg Drokin <green@whamcloud.com>
Wed, 29 Nov 2023 21:29:38 +0000 (21:29 +0000)
commitc5aa16db172afc9cbf0d4fd2c85261fef1a40d7b
tree50a1e2ed30bd66a76a35aa9f2f479e3314987814
parent6897dbe67c0d7d7554926128a17c65afa1ec0001
LU-17265 tests: allow margin for sanity/39r

The timestamp may be little outdated due to a gap between
writing a file and checking the timestamp, so take that into
consideration and allow 2 second leniency when comparing
timestamps.

The on-disk inode may also not be flushed from the journal
immediately, so allow some time for it to be updated.

This patch also converts the hex value read via debugfs
to decimal.

Test-Parameters: trivial testlist=sanity env=ONLY=39r,ONLY_REPEAT=100
Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: I9e765f9cd572fb25821f9a0401c34209b7c3f574
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53035
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: xinliang <xinliang.liu@linaro.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/sanity.sh