From 3c23dffa81016896fa8389b1f64358d531b14f52 Mon Sep 17 00:00:00 2001 From: Hongchao Zhang Date: Sun, 10 Dec 2023 04:43:49 +0800 Subject: [PATCH] EX-8780 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/ex/lustre-release/+/53531 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger --- 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 5ca523e..147c8ec 100755 --- a/lustre/tests/sanity-lfsck.sh +++ b/lustre/tests/sanity-lfsck.sh @@ -2667,6 +2667,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