summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSahina Bose <sabose@redhat.com>2015-03-02 14:28:00 +0530
committerSahina Bose <sabose@redhat.com>2015-03-25 04:56:31 -0700
commit481d99ef5f541b4e1eb30d4f630c890609a1c05e (patch)
tree246214f266926b76230db612671f94a35737ef4f /tests
parent2132a0f6927275e76c5e55069acc3e8314567475 (diff)
nagios-common: Split brain status function added
Modified the existing function to return the "volume heal <vol-name> info split-brain" output to be used by nagios plugins. The function that uses "volume heal <vol-name> info" command has been renamed Change-Id: I5a05930ae76be04535c74cffd5f535bfb6a6d97a Bug-Url: https://bugzilla.redhat.com/1081900 Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: http://review.gluster.org/9782 Reviewed-by: darshan n <dnarayan@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/test_glustercli.py4
1 files changed, 2 insertions, 2 deletions
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",