Whamcloud - gitweb
LU-3024 test: use facet name in init_param_vars
authorJohn L. Hammond <john.hammond@intel.com>
Mon, 25 Mar 2013 16:15:18 +0000 (11:15 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 30 Mar 2013 01:19:49 +0000 (21:19 -0400)
When configuring jobstats init_parm_vars should call
set_conf_param_and_check with the facet name (client) rather then the
hostname.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I00b99ec3172d3e108fb6dd6d94825badf81e84df
Reviewed-on: http://review.whamcloud.com/5835
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/test-framework.sh

index 4e7ddc0..4e39c29 100644 (file)
@@ -3254,7 +3254,7 @@ init_param_vars () {
                elif [ $current_jobid_var != $JOBID_VAR ]; then
                        echo "seting jobstats to $JOBID_VAR"
 
-                       set_conf_param_and_check $HOSTNAME              \
+                       set_conf_param_and_check client                 \
                                "$LCTL get_param -n jobid_var"          \
                                "$FSNAME.sys.jobid_var" $JOBID_VAR
                fi