From d15ab7bf6884018f53dc0822ac00405744f98fc1 Mon Sep 17 00:00:00 2001 From: Arshad Hussain Date: Wed, 5 Jan 2022 06:01:05 -0500 Subject: [PATCH] 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 --- lustre/tests/dom-performance.sh | 3 +++ 1 file changed, 3 insertions(+) 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="" -- 1.8.3.1