wait for recovery done in recovery-small.sh/test_153.
Test-Parameters: trivial testlist=recovery-small
Signed-off-by: Lei Feng <flei@whamcloud.com>
Change-Id: I163b15e1c38f28eea7051c1886d94a79428039ef
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50683
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Deiter <alex.deiter@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
rc=$?
[ $rc -eq 0 ] && error "multiop didn't fail enqueue: rc $rc" || true
}
-run_test 20a "ldlm_handle_enqueue error (should return error)"
+run_test 20a "ldlm_handle_enqueue error (should return error)"
test_20b() { # bug 2986 - ldlm_handle_enqueue error during open
remote_ost_nodsh && skip "remote OST with nodsh" && return 0
do_facet mds1 "$LCTL set_param fail_loc=0"
start mds1 $(mdsdevname 1) $MDS_MOUNT_OPTS ||
error "Fail to start $SINGLEMDS"
+ wait_recovery_complete mds1 || error "MDS recovery not done"
}
run_test 153 "evict vs reconnect race"