From: shadow Date: Sun, 11 Jan 2009 08:24:27 +0000 (+0000) Subject: wait until mds<>ost connected. X-Git-Tag: v1_9_140~23 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=6970c88a64e214abb5261510babaf3c53db4a007;p=fs%2Flustre-release.git wait until mds<>ost connected. Branch HEAD b=18150 i=grev --- diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index 05e8049..443348e 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -581,6 +581,9 @@ test_22() { echo Client mount with ost in logs, but none running start_ost + # wait until mds connected to ost and open client connection + # ping_interval + 1 + sleep $((TIMEOUT / 4 + 1)) stop_ost mount_client $MOUNT # check_mount will block trying to contact ost @@ -1510,7 +1513,8 @@ test_46a() { start ost4 `ostdevname 4` $OST_MOUNT_OPTS || return 6 start ost5 `ostdevname 5` $OST_MOUNT_OPTS || return 7 # wait until ost2-5 is sync - sleep 5 + # ping_interval + 1 + sleep $((TIMEOUT / 4 + 1)) #second client see both ost's mount_client $MOUNT2 || return 8