From 36cbba150bce9e2890c8b462ec2ce4af2d6353a5 Mon Sep 17 00:00:00 2001 From: Timothy Day Date: Sat, 11 Mar 2023 22:55:09 +0000 Subject: [PATCH] LU-16632 tests: more margin of error for sanity/56xh Give sanity test_56xh more time to migrate files inside the VMs before failing. Also, fix a typo. Test-Parameters: trivial testlist=sanity env=ONLY=56xh,ONLY_REPEAT=100 Fixes: 55968bfabe ("LU-13482 utils: bandwidth limit for lfs migrate") Signed-off-by: Timothy Day Change-Id: If89c8c3ee113c8a14d4c0463c7bb79e353130c08 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50262 Reviewed-by: Arshad Hussain Reviewed-by: Oleg Drokin Reviewed-by: Andreas Dilger Tested-by: Maloo Tested-by: jenkins --- lustre/tests/sanity.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index a1fb1d6..b536b4f 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -8177,8 +8177,8 @@ test_56xh() { (( elapsed <= size_mb * 120 / 100 )) || error_not_in_vm "'lfs migrate -W' slow ($elapsed > 1.2 * $size_mb)" - (( elapsed <= size_mb * 150 / 100 )) || - error "'lfs migrate -W' too slow in VM ($elapsed > 2 * $size_mb 2)" + (( elapsed <= size_mb * 350 / 100 )) || + error "'lfs migrate -W' too slow in VM ($elapsed > 3.5 * $size_mb)" stripe=$($LFS getstripe -c $file1) (( $stripe == 1 )) || error "stripe of $file1 is $stripe != 1" -- 1.8.3.1