summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSahina Bose <sabose@redhat.com>2014-05-19 16:05:33 +0530
committerSahina Bose <sabose@redhat.com>2014-05-20 02:18:07 -0700
commit1ced2460f3b3ee3e9af2101b8358be50f282a025 (patch)
tree69c91cb490b3d269b8d6febeb1d4d407ee8b8a1d /tests
parent272b5c54c3ab0f3c7117feec2bfdeb5d62cfdead (diff)
plugins: Corrected quota status messages
Corrected the quota status message when hard limit is reached. Also removed the ";" at the end of the message. Change-Id: If10e07a69d838439d1bfa73eca68b6dc13cf83a8 Bug-Url: https://bugzilla.redhat.com/1098046 Bug-Url: https://bugzilla.redhat.com/1098427 Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: http://review.gluster.org/7798 Reviewed-by: Kanagaraj M <kmayilsa@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/test_check_volume_status.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_check_volume_status.py b/tests/test_check_volume_status.py
index f916174..c1ffa32 100644
--- a/tests/test_check_volume_status.py
+++ b/tests/test_check_volume_status.py
@@ -61,7 +61,7 @@ class TestCheckVolumeStatus(TestCaseBase):
exitStatusCode, exitStatusMsg = (check_volume_status
.getVolumeQuotaStatus(args))
assert exitStatusCode == utils.PluginStatusCode.CRITICAL
- self.assertEqual("QUOTA:hard limit exceeded on dir1, dir2; "
+ self.assertEqual("QUOTA:hard limit reached on dir1, dir2; "
"soft limit exceeded on dir3", exitStatusMsg)
mock_volumeQuotaStatus.return_value = _getQuotaStatusOk()
exitStatusCode, exitStatusMsg = (check_volume_status