Whamcloud - gitweb
LU-11684 config: fix conf-sanity test_123 20/33720/3
authorBen Evans <bevans@cray.com>
Tue, 20 Nov 2018 20:40:20 +0000 (15:40 -0500)
committerOleg Drokin <green@whamcloud.com>
Sat, 8 Dec 2018 05:35:02 +0000 (05:35 +0000)
conf_param parameters go into FSNAME-MDT/OST/client files
set_parm -P parameters go into "params"

Change the test to set the conf_param parameter files first
followed by the set_param -P parameters, since there may be
overlap.  In this case, the test infrastructure is using
conf_param to set jobid_var, and test_123 is using set_param.
This causes collision and occasional failure.

Test-Parameters: trivial testlist=conf-sanity

Signed-off-by: Ben Evans <bevans@cray.com>
Change-Id: I5cbdbaf6cc0c1c55a870bd587e89b2cbdaf77c29
Reviewed-on: https://review.whamcloud.com/33720
Tested-by: Jenkins
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/conf-sanity.sh

index 0f5cafc..59fa294 100644 (file)
@@ -8238,7 +8238,7 @@ test_123() {
        local orig_val=$(do_facet mgs $LCTL get_param jobid_var)
        do_facet mgs $LCTL set_param -P jobid_var="testname"
 
-       for i in params $cfgfiles; do
+       for i in $cfgfiles params; do
                do_facet mgs "lctl --device MGS llog_print ${i} >> $yaml_file"
        done