Whamcloud - gitweb
LU-6142 tests: Use correct type for MGS 95/56695/4
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Tue, 15 Oct 2024 11:02:42 +0000 (07:02 -0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 9 Dec 2024 06:05:43 +0000 (06:05 +0000)
When checking for MDS backend do use 'mds1_FSTYPE'
instead of mgs_FSTYPE which is not defined

Test-Parameters: trivial
Fixes: 3070ca9b1 (LU-4684 tests: enable racer directory migration)
Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: I11ae6956a03be9a076b7a5da72e9efc672230bdb
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56695
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/racer.sh

index 724f976..2d2dd14 100755 (executable)
@@ -60,7 +60,7 @@ if ((MDSCOUNT > 1)); then
                RACER_MIGRATE_STRIPE_MAX=$MDSCOUNT
 fi
 
-[[ "$MDS1_VERSION" -lt $(version_code 2.9.54) || $mgs_FSTYPE != zfs ]] &&
+[[ "$MDS1_VERSION" -lt $(version_code 2.9.54) || $mds1_FSTYPE != zfs ]] &&
        RACER_ENABLE_SNAPSHOT=false
 
 (( "$MDS1_VERSION" <= $(version_code 2.9.55) )) &&