diff options
author | Atin Mukherjee <amukherj@redhat.com> | 2018-08-12 15:25:21 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2018-08-13 04:56:40 +0000 |
commit | 212075b662820a2794f170d11b3a66734e00d6c3 (patch) | |
tree | feebbe609fb4aeb041fddb82bd1ce6805b25f922 | |
parent | bec64909c1ca10f4b393bcc07a9698030ffdb95b (diff) |
tests: fix tests/bugs/shard/configure-lru-limit.t
Check for the bricks to be up before attempting to mount.
Change-Id: I1224908137016df3007f4467aa9760967ce0694d
Fixes: bz#1615092
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
-rw-r--r-- | tests/bugs/shard/configure-lru-limit.t | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/bugs/shard/configure-lru-limit.t b/tests/bugs/shard/configure-lru-limit.t index a8ba8ed8509..923a4d8d747 100644 --- a/tests/bugs/shard/configure-lru-limit.t +++ b/tests/bugs/shard/configure-lru-limit.t @@ -11,6 +11,10 @@ TEST $CLI volume set $V0 features.shard on TEST $CLI volume set $V0 features.shard-block-size 4MB TEST $CLI volume set $V0 features.shard-lru-limit 25 TEST $CLI volume start $V0 +EXPECT 'Started' volinfo_field $V0 'Status'; +EXPECT_WITHIN $PROCESS_UP_TIMEOUT "1" brick_up_status $V0 $H0 $B0/${V0}0 +EXPECT_WITHIN $PROCESS_UP_TIMEOUT "1" brick_up_status $V0 $H0 $B0/${V0}1 +EXPECT_WITHIN $PROCESS_UP_TIMEOUT "1" brick_up_status $V0 $H0 $B0/${V0}2 TEST $GFS --volfile-id=$V0 --volfile-server=$H0 $M0 |