From ed773713ca440fa1c1c67147434b3753c132ed6a Mon Sep 17 00:00:00 2001 From: Parinay Kondekar Date: Tue, 25 Mar 2014 21:26:34 +0530 Subject: [PATCH] LU-4816 tests: Customer Wizard seems to be stuck on test 116 Due to large OST size, the execution of test 116 takes huge time to complete. In such cases it would be good to skip this tests execution. The test attempts to write 2% above the qos_threshold_rr_level. In scenarios where OST size is huge, during the first round of write the count of 2MB file to be created is big, causing testt to take time to comeplete the same. This change checks to see if more space is available than expected, and if so skips the test. Signed-off-by: Parinay Kondekar Change-Id: Ifa101de2fffcaa3c182582496abd68ab6244d3a0 Xyratex-bug-id: MRP-1747 Reviewed-on: http://review.whamcloud.com/9778 Tested-by: Jenkins Reviewed-by: Dmitry Eremin Tested-by: Maloo Reviewed-by: Jian Yu Reviewed-by: Oleg Drokin --- lustre/tests/sanity.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 7a430d0..533437a 100644 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -6840,8 +6840,11 @@ test_116a() { # was previously test_116() free_min_max [ $MINV -eq 0 ] && skip "no free space in OST$MINI, skip" && return + [ $MINV -gt 10000000 ] && skip "too much free space in OST$MINI, skip" \ + && return trap simple_cleanup_common EXIT + # Check if we need to generate uneven OSTs test_mkdir -p $DIR/$tdir/OST${MINI} local FILL=$(($MINV / 4)) -- 1.8.3.1