From: Alex Zhuravlev Date: Sat, 31 Oct 2020 05:55:10 +0000 (+0300) Subject: LU-14097 tests: conf-sanity/91 should check specific MDT X-Git-Tag: 2.14.0-RC1~41 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F01%2F40501%2F4;hp=695c03c23a1a6bb8667d377895116efa0ac91990;p=fs%2Flustre-release.git LU-14097 tests: conf-sanity/91 should check specific MDT for exports afer eviction. otherwise 91 fails if few MDTs share same node as in local setup. Signed-off-by: Alex Zhuravlev Change-Id: I047473311c01f94e210e8f87aced4cbd7de76b7f Reviewed-on: https://review.whamcloud.com/40501 Reviewed-by: Andreas Dilger Reviewed-by: James Nunez Tested-by: jenkins Tested-by: Maloo --- diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index a6e2798..a51f003 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -6869,7 +6869,7 @@ check_uuid_on_ost() { check_uuid_on_mdt() { local nid=$1 - do_facet $SINGLEMDS "$LCTL get_param mdt.${FSNAME}*.exports.'$nid'.uuid" + do_facet $SINGLEMDS "$LCTL get_param mdt.${mds1_svc}*.exports.'$nid'.uuid" } test_91() { @@ -6913,6 +6913,7 @@ test_91() { echo "evict $nid" do_facet $SINGLEMDS \ "$LCTL set_param -n mdt.${mds1_svc}.evict_client nid:$nid" + sleep 1 # eviction above is async, give it some time to proceed found=$(check_uuid_on_mdt $nid | grep $uuid) [ -n "$found" ] && error "found $uuid $nid on MDT"