From b07f02551285b1f1ad8c193cf5c7c5b10e33ac39 Mon Sep 17 00:00:00 2001 From: Bruno Faccini Date: Tue, 18 Jun 2013 17:37:31 +0200 Subject: [PATCH] LU-3449 tests: Trash track_declares_assert related errors Do not care about track_declares_assert related errors (ie, zfs, interop, ...). Signed-off-by: Bruno Faccini Change-Id: Ie608ab0bd7fe3d02717931de1ba241638f5a124a Reviewed-on: http://review.whamcloud.com/6639 Tested-by: Hudson Tested-by: Maloo Reviewed-by: James Nunez Reviewed-by: Andreas Dilger --- lustre/tests/test-framework.sh | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 3182e26..bdb1e64 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -3462,19 +3462,10 @@ check_and_setup_lustre() { if [ $(lower $OSD_TRACK_DECLARES_LBUG) == 'yes' ] ; then local facets="$(get_facets OST),$(get_facets MDS),mgs" - local facet - local nodes - local node - for facet in ${facets//,/ }; do - if [ $(facet_fstype $node) == "ldiskfs" ] ; then - node=$(facet_host ${facet}) - nodes="$nodes $node" - fi - done + local nodes="$(facets_hosts ${facets})" if [ -n "$nodes" ] ; then - nodes=$(for i in $nodes; do echo $i; done | sort -u) - do_nodes $(comma_list $nodes) "$LCTL set_param \ - osd-ldiskfs.track_declares_assert=1" + do_nodes $nodes "$LCTL set_param \ + osd-ldiskfs.track_declares_assert=1 || true" fi fi -- 1.8.3.1