From 73a7b1c2a3f0114618db7781adb56974ed682f24 Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Mon, 17 Apr 2023 02:34:12 -0600 Subject: [PATCH] LU-11170 tests: don't fail sanity/415 in VM Don't fail sanity test_415 when running in a VM due to variable runtimes for the tests. A proper solution would be to examine the logs to determine if the renames are blocked or just all slow due to VM contention. Test-Parameters: trivial Signed-off-by: Andreas Dilger Change-Id: I1a5d0f601705c9ec8559e760c4ec27c7f83ebbe5 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50654 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Alex Deiter Reviewed-by: Vikentsi Lapa Reviewed-by: Oleg Drokin --- lustre/tests/sanity.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 75627fe..39a8a7f 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -27367,7 +27367,8 @@ test_415() { echo "rename $total files with 'touch' took $duration sec" (( max > 2 * baseline )) || max=$((2 * baseline + 5)) - (( duration <= max )) || error "rename took $duration > $max sec" + (( duration <= max )) || + error_not_in_vm "rename took $duration > $max sec" } run_test 415 "lock revoke is not missing" -- 1.8.3.1