X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Fconf-sanity.sh;h=1e2e598f05f5318db854e3fea25807f9db8467eb;hp=9b54ac31409206f8c7a8fdcf858227c9b75dda5a;hb=82a0cc9ee5489340406a6fc64494f37989099729;hpb=f9621973dd31147d29c8e61c650e2c4d07be6324;ds=sidebyside diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index 9b54ac3..1e2e598 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -1706,7 +1706,8 @@ test_35a() { # bug 12459 log "Set up a fake failnode for the MDS" FAKENID="127.0.0.2" local device=$(do_facet $SINGLEMDS "lctl get_param -n devices" | awk '($3 ~ "mdt" && $4 ~ "MDT") { print $4 }' | head -1) - do_facet mgs $LCTL conf_param ${device}.failover.node=$FAKENID || return 4 + do_facet mgs "$LCTL conf_param ${device}.failover.node=" \ + "$(h2$NETTYPE $FAKENID)" || return 4 log "Wait for RECONNECT_INTERVAL seconds (10s)" sleep 10 @@ -1760,8 +1761,8 @@ test_35b() { # bug 18674 FAKENID="127.0.0.2" local device=$(do_facet $SINGLEMDS "$LCTL get_param -n devices" | \ awk '($3 ~ "mdt" && $4 ~ "MDT") { print $4 }' | head -1) - do_facet mgs "$LCTL conf_param ${device}.failover.node=$FAKENID" || \ - return 1 + do_facet mgs "$LCTL conf_param ${device}.failover.node=" \ + "$(h2$NETTYPE $FAKENID)" || return 1 local at_max_saved=0 # adaptive timeouts may prevent seeing the issue