Whamcloud - gitweb
LU-15410 tests: Add MDS Space check for dom-performance 73/45973/2
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Wed, 5 Jan 2022 11:01:05 +0000 (06:01 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 11 Jan 2022 06:19:26 +0000 (06:19 +0000)
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 <arshad.hussain@aeoncomputing.com>
Change-Id: I493a6ee5b549539b562aeda418a7418b94060ca9
Reviewed-on: https://review.whamcloud.com/45973
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
lustre/tests/dom-performance.sh

index 1dd5a7a..db28ae5 100644 (file)
@@ -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=""