From 5226b8dd43b219c5d0ddda498f9406ea6266fa8f Mon Sep 17 00:00:00 2001 From: Hongchao Zhang Date: Sat, 9 Mar 2024 22:35:41 +0800 Subject: [PATCH] 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 --- lustre/tests/sanity-lfsck.sh | 2 ++ 1 file changed, 2 insertions(+) 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 -- 1.8.3.1