Whamcloud - gitweb
LU-18501 tests: sanity.sh test_56oe fix time range 01/57201/3
authorFrederick Dilger <fdilger@whamcloud.com>
Sat, 30 Nov 2024 23:12:55 +0000 (16:12 -0700)
committerOleg Drokin <green@whamcloud.com>
Fri, 14 Feb 2025 02:55:24 +0000 (02:55 +0000)
commitb9e014fb5fc4deb1bb99eb9baeabf31046f2389e
tree5217e67a372b9a077a52b9ae823dbb9f607da417
parentde4f30d5c862e4887d001e8c29cf920e04c5f737
LU-18501 tests: sanity.sh test_56oe fix time range

test_56oe was likely failing due to the test running slow, resulting
in all of the files escaping the time range before they are found
with 'lfs find -ctime -Tupper -ctime +Tlower' so the bounds are now
calculated after all files have been created meaning that even if
there are large gaps between the creation of each file they will
still be within the new bounds.

Just in case the test is really extra slow, this test will be skipped
to avoid having to retest for the 0.01% of the time that it happens.

Test-Parameters: trivial testlist=sanity env=ONLY=56oe,ONLY_REPEAT=100
Signed-off-by: Frederick Dilger <fdilger@whamcloud.com>
Change-Id: If3f737146f1a1d110873c5dd3a6ece60604e54ac
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57201
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity.sh