From b118d38feeac276441f0e1647f6a093a1bb08763 Mon Sep 17 00:00:00 2001 From: ShwethaHP Date: Wed, 30 Aug 2017 16:51:46 +0530 Subject: Do not validate the return code of the 'rebalance status' command when just logging the output Change-Id: I6ff7e363871607c2f9d4272be7198150db59af5d Signed-off-by: ShwethaHP --- tests/functional/bvt/test_cvt.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'tests/functional/bvt/test_cvt.py') diff --git a/tests/functional/bvt/test_cvt.py b/tests/functional/bvt/test_cvt.py index e19adf862..ff6d3f2ec 100644 --- a/tests/functional/bvt/test_cvt.py +++ b/tests/functional/bvt/test_cvt.py @@ -212,13 +212,9 @@ class TestGlusterExpandVolumeSanity(GlusterBasicFeaturesSanityBaseClass): g.log.info("Successfully started rebalance on the volume %s", self.volname) - # Check Rebalance status - g.log.info("Checking Rebalance status") - ret, _, _ = rebalance_status(self.mnode, self.volname) - self.assertEqual(ret, 0, ("Failed to get rebalance status for the " - "volume %s", self.volname)) - g.log.info("Successfully got rebalance status of the volume %s", - self.volname) + # Log Rebalance status + g.log.info("Log Rebalance status") + _, _, _ = rebalance_status(self.mnode, self.volname) # Wait for rebalance to complete g.log.info("Waiting for rebalance to complete") -- cgit