From: Andreas Dilger Date: Fri, 1 Feb 2019 23:35:47 +0000 (-0700) Subject: LU-11917 tests: wait for test_257 to finish recovery X-Git-Tag: 2.12.52~63 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;ds=sidebyside;h=8dc7d07a22e8e191eddb9f0484823f85c7e67abb;p=fs%2Flustre-release.git LU-11917 tests: wait for test_257 to finish recovery The sanity test_257 restarts the MDS, but it may still be in recovery at the start of test_260a and cause failures. Wait for recovery to complete before the end of test_257. Fixes: 1cb9e85039c ("LU-7433 ldlm: xattr locks are lost on mdt") Test-Parameters: trivial Signed-off-by: Andreas Dilger Change-Id: I00f183938a208608155ca71b08ca7977903ebbe5 Reviewed-on: https://review.whamcloud.com/34165 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Andriy Skulysh Reviewed-by: Jian Yu Reviewed-by: James Nunez Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 0e40777..1aecaf0 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -16804,6 +16804,7 @@ test_257() { stop $facet || error "stop MDS failed" start $facet $(mdsdevname $((mdtidx + 1))) $MDS_MOUNT_OPTS || error "start MDS fail" + wait_recovery_complete $facet } run_test 257 "xattr locks are not lost"