From: Li Dongyang Date: Thu, 30 Mar 2023 12:45:04 +0000 (+1100) Subject: LU-14692 tests: wait for osp in conf-sanity/84 X-Git-Tag: 2.15.56~112 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F77%2F50477%2F4;p=fs%2Flustre-release.git LU-14692 tests: wait for osp in conf-sanity/84 Wait for osp to change the first IDIF SEQ to a normal SEQ, before using replay_barrier. Otherwise the SEQ change could get lost and we will trigger LASSERT during replay. Change-Id: I32daa49d6329902b84eebb00090ae3cebe4a71b0 Test-Parameters: trivial testlist=conf-sanity env=ONLY=84,ONLY_REPEAT=10 Signed-off-by: Li Dongyang Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50477 Reviewed-by: Andreas Dilger Reviewed-by: Alex Zhuravlev Reviewed-by: Oleg Drokin Tested-by: Maloo Tested-by: jenkins --- diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index b0a8c10..af8918c 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -6820,7 +6820,9 @@ test_84() { error "start MDS failed" start_ost || error "start OST0000 failed" + wait_osc_import_state mds ost1 FULL start_ost2 || error "start OST0001 failed" + wait_osc_import_state mds ost2 FULL echo "recovery_time=$time_min, timeout=$TIMEOUT, wrap_up=$wrap_up"