From a9b7d73964b8b655c6c628820464342309f11356 Mon Sep 17 00:00:00 2001 From: Li Dongyang Date: Thu, 30 Mar 2023 23:45:04 +1100 Subject: [PATCH] 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 --- lustre/tests/conf-sanity.sh | 2 ++ 1 file changed, 2 insertions(+) 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" -- 1.8.3.1