From: Hongchao Zhang Date: Sat, 9 Mar 2024 14:35:41 +0000 (+0800) Subject: LU-17640 test: wait osts up after restart X-Git-Tag: 2.15.62~28 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=5226b8dd43b219c5d0ddda498f9406ea6266fa8f;p=fs%2Flustre-release.git LU-17640 test: wait osts up after restart In test_18e of sanity-lfsck, the OSTs could not be ready on all MDTs and the LFSCK status will be incorrect because the LFSCK notify can not be sent to all OSTs. Change-Id: If1ed5d920d5c8b99d42f59f92a1e245a9e2a8267 Test-Parameters: trivial testlist=sanity-lfsck,sanity-lfsck,sanity-lfsck,sanity-lfsck,sanity-lfsck Signed-off-by: Hongchao Zhang Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54380 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Li Xi Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity-lfsck.sh b/lustre/tests/sanity-lfsck.sh index 09c3f6f..b9fb321 100755 --- a/lustre/tests/sanity-lfsck.sh +++ b/lustre/tests/sanity-lfsck.sh @@ -2713,6 +2713,8 @@ test_18e() { echo "setupall" setupall > /dev/null + wait_osts_up + #define OBD_FAIL_LFSCK_DELAY3 0x1602 do_facet $SINGLEMDS $LCTL set_param fail_val=10 fail_loc=0x1602