summaryrefslogtreecommitdiffstats
path: root/tests/test_discover_volumes.py
diff options
context:
space:
mode:
authorNishanth Thomas <nthomas@redhat.com>2014-06-04 18:33:50 +0530
committerSahina Bose <sabose@redhat.com>2014-06-05 02:07:35 -0700
commit3bdb656a46c40282449ac69ec753c0b8ef271f48 (patch)
tree1742aee61307af19b14b884a2bc21bf4ce4263dd /tests/test_discover_volumes.py
parent859e3453a328ba691185201023331ceb7e3630d1 (diff)
gluster-nagios-addons:fixed testcase failures
Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=1096159 Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=1096169 Change-Id: I41d320ab63ec47bbd9b8b413cc7dffed68470d82 Signed-off-by: Nishanth Thomas <nthomas@redhat.com> Reviewed-on: http://review.gluster.org/7974 Reviewed-by: Sahina Bose <sabose@redhat.com> Tested-by: Nishanth Thomas <nishusemail@gmail.com>
Diffstat (limited to 'tests/test_discover_volumes.py')
-rw-r--r--tests/test_discover_volumes.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_discover_volumes.py b/tests/test_discover_volumes.py
index 1e72933..626f2e3 100644
--- a/tests/test_discover_volumes.py
+++ b/tests/test_discover_volumes.py
@@ -28,10 +28,12 @@ class TestDiscoverVolumes(TestCaseBase):
result = {}
result['V1'] = {"bricksInfo": [{"name": "172.16.53.1:/bricks/v1-1",
"hostUuid": "0000-1111"}],
- "volumeType": "DISTRIBUTE", "volumeName": "V1"}
+ "volumeType": "DISTRIBUTE", "volumeName": "V1",
+ "replicaCount": "1"}
result['V2'] = {"bricksInfo": [{"name": "172.16.53.2:/bricks/v2-1",
"hostUuid": "0000-1112"}],
- "volumeType": "DISTRIBUTE", "volumeName": "V2"}
+ "volumeType": "DISTRIBUTE", "volumeName": "V2",
+ "replicaCount": "1"}
return result
def _mockGetVolumeInfo(self, volumeName):