From: Arshad Hussain Date: Wed, 5 Jan 2022 11:01:05 +0000 (-0500) Subject: LU-15410 tests: Add MDS Space check for dom-performance X-Git-Tag: 2.14.57~35 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=d15ab7bf6884018f53dc0822ac00405744f98fc1;p=fs%2Flustre-release.git LU-15410 tests: Add MDS Space check for dom-performance IOR Test within dom-performance requires at least MDS of 20GB. This patch adds MDS space check for dom-performance/test_IOR to skip in case the MDS of required size is not found Test-Parameters: trivial testlist=dom-performance Signed-off-by: Arshad Hussain Change-Id: I493a6ee5b549539b562aeda418a7418b94060ca9 Reviewed-on: https://review.whamcloud.com/45973 Tested-by: jenkins Reviewed-by: James Simmons Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: James Nunez --- diff --git a/lustre/tests/dom-performance.sh b/lustre/tests/dom-performance.sh index 1dd5a7a..db28ae5 100644 --- a/lustre/tests/dom-performance.sh +++ b/lustre/tests/dom-performance.sh @@ -202,6 +202,9 @@ run_IOR() { skip_env "IOR is not installed, skipping" fi + # Requires at least 20GB (roughly) + (( MDSSIZE >= 20000000 )) || skip "Require MDS of at least 20GB" + local IOR=$(which IOR) local iter=$((DP_FNUM / DP_NUM)) local direct=""