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 <timday@amazon.com>
Change-Id: If89c8c3ee113c8a14d4c0463c7bb79e353130c08
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50262
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
(( 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"