diff options
author | Atin Mukherjee <amukherj@redhat.com> | 2017-11-07 16:20:27 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2017-11-07 16:40:51 +0000 |
commit | 4b18826de7fda26b66ca3123a28830a9c8d72ec4 (patch) | |
tree | 4aec8ae41570a2ee8933b0861b888da381984faf /tests/bugs/glusterd | |
parent | f7d78e3cd3628559d0b20745bf085abf97b18160 (diff) |
tests: fix spurious failure in bug-1345727-bricks-stop-on-no-quorum-validation.t
Add peer_count check before checking for brick status
Change-Id: I0179ec29729ab6bbc3571eb6ffd631b7b0d15f7c
BUG: 1510415
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Diffstat (limited to 'tests/bugs/glusterd')
-rw-r--r-- | tests/bugs/glusterd/bug-1345727-bricks-stop-on-no-quorum-validation.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/bugs/glusterd/bug-1345727-bricks-stop-on-no-quorum-validation.t b/tests/bugs/glusterd/bug-1345727-bricks-stop-on-no-quorum-validation.t index 34959f5b0c6..e3258b29277 100644 --- a/tests/bugs/glusterd/bug-1345727-bricks-stop-on-no-quorum-validation.t +++ b/tests/bugs/glusterd/bug-1345727-bricks-stop-on-no-quorum-validation.t @@ -28,6 +28,7 @@ EXPECT_WITHIN $PROCESS_UP_TIMEOUT "1" brick_up_status_1 $V0 $H3 $B3/${V0}3 # Bring down 2nd and 3rd glusterd TEST kill_glusterd 2 TEST kill_glusterd 3 +EXPECT_WITHIN $PROBE_TIMEOUT 0 peer_count # Server quorum is not met. Brick on 1st node must be down EXPECT_WITHIN $PROCESS_DOWN_TIMEOUT "0" brick_up_status_1 $V0 $H1 $B1/${V0}1 |