From 481d99ef5f541b4e1eb30d4f630c890609a1c05e Mon Sep 17 00:00:00 2001 From: Sahina Bose Date: Mon, 2 Mar 2015 14:28:00 +0530 Subject: nagios-common: Split brain status function added Modified the existing function to return the "volume heal info split-brain" output to be used by nagios plugins. The function that uses "volume heal info" command has been renamed Change-Id: I5a05930ae76be04535c74cffd5f535bfb6a6d97a Bug-Url: https://bugzilla.redhat.com/1081900 Signed-off-by: Sahina Bose Reviewed-on: http://review.gluster.org/9782 Reviewed-by: darshan n --- tests/test_glustercli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_glustercli.py') diff --git a/tests/test_glustercli.py b/tests/test_glustercli.py index 67260a8..bca1502 100644 --- a/tests/test_glustercli.py +++ b/tests/test_glustercli.py @@ -1255,10 +1255,10 @@ class GlusterCliTests(TestCaseBase): "", "Brick node2:/bricks/b3", "Status: Brick is Not connected", - "Number of entries: 0" + "Number of entries in split-brain: 0" "", "Brick node1:/bricks/b3", - "Number of entries: 10", + "Number of entries in split-brain: 10", "/dir.7/file.5", "/dir.8/file.3", "/dir.9/file.5", -- cgit