Whamcloud - gitweb
LU-10953 tests: disable sanity/300k on small setups 48/32148/3
authorAlex Zhuravlev <alexey.zhuravlev@intel.com>
Wed, 25 Apr 2018 13:49:26 +0000 (16:49 +0300)
committerOleg Drokin <green@whamcloud.com>
Wed, 23 Jan 2019 09:18:27 +0000 (09:18 +0000)
sanity/300k simulates creation of 512-stripes directory and
fails on small setup causing all subsequent tests to fail as
well.

Change-Id: I5e1d8d25ea364c0f49d9e114cc447cc40f951e2f
Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-on: https://review.whamcloud.com/32148
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity.sh

index a378f38..aa4f738 100755 (executable)
@@ -18103,6 +18103,11 @@ test_300k() {
        [ $(lustre_version_code $SINGLEMDS) -lt $(version_code 2.7.55) ] &&
                skip "Need MDS version at least 2.7.55"
 
+       # this test needs a huge transaction
+       local kb
+       kb=$(do_facet $SINGLEMDS lctl get_param -n osd*.lustre-MDT0000.kbytestotal)
+       [ $kb -lt $((1024*1024)) ] && skip "too small mds: $kb"
+
        local stripe_count
        local file