Whamcloud - gitweb
LU-11171 tests: set parameters for racer_on_nfs 80/32880/3
authorJames Nunez <jnunez@whamcloud.com>
Wed, 25 Jul 2018 16:59:33 +0000 (10:59 -0600)
committerOleg Drokin <green@whamcloud.com>
Thu, 9 Aug 2018 18:20:44 +0000 (18:20 +0000)
The parallel-scale-nfs script calls the racer test without
specifying a directory to create files, create directories,
etc. in. In addition, racer needs a few other global
parameters to work properly, including the number of OSTs,
MDTs and which LFS to use.

Test-Parameters: trivial testlist=parallel-scale-nfsv3,parallel-scale-nfsv4
Signed-off-by: James Nunez <jnunez@whamcloud.com>
Change-Id: Ic4f5f08ddec7a8df5cb818b434aa3473f6cd72cb
Reviewed-on: https://review.whamcloud.com/32880
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Reviewed-by: Wei Liu <sarah@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/parallel-scale-nfs.sh

index 74ae30b..9676835 100755 (executable)
@@ -125,7 +125,9 @@ test_iorfpp() {
 run_test iorfpp "iorfpp"
 
 test_racer_on_nfs() {
 run_test iorfpp "iorfpp"
 
 test_racer_on_nfs() {
-       $racer $CLIENTS
+       local racer_params="MDSCOUNT=$MDSCOUNT OSTCOUNT=$OSTCOUNT LFS=$LFS"
+
+       do_nodes $CLIENTS "$racer_params $racer $TESTDIR"
 }
 run_test racer_on_nfs "racer on NFS client"
 
 }
 run_test racer_on_nfs "racer on NFS client"