From 1ced2460f3b3ee3e9af2101b8358be50f282a025 Mon Sep 17 00:00:00 2001 From: Sahina Bose Date: Mon, 19 May 2014 16:05:33 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/7798 Reviewed-by: Kanagaraj M --- tests/test_check_volume_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit