Whamcloud - gitweb
LU-18851 tests: fix nodelist in sanity/170b 40/58540/3 master
authorAlex Zhuravlev <bzzz@whamcloud.com>
Wed, 26 Mar 2025 13:41:19 +0000 (16:41 +0300)
committerOleg Drokin <green@whamcloud.com>
Fri, 2 May 2025 02:23:21 +0000 (02:23 +0000)
on a local setup nodes_list should contain just a single entry

Fixes: 8091e481fc ("LU-18810 misc: filename encoding for remaining files")
Test-Parameters: trivial
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: Ie855dcf6c2f7a62c3fcf3913fe43d8a8c58e54e2
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58540
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
lustre/tests/sanity.sh

index ee16f20..4bbe979 100755 (executable)
@@ -21343,6 +21343,7 @@ test_170b() {
                nodes_list="$nodes_list,$(facet_active_host mds1)"
        (( $OST1_VERSION >= $(version_code 2.16.52) )) &&
                nodes_list="$nodes_list,$(facet_active_host ost1)"
+       local_mode && nodes_list=$HOSTNAME
 
        old_fl=($(do_nodes $nodes_list $LCTL get_param -n $param))