From 900bc9968ef050b6b68323198c8ae5d4662f14a9 Mon Sep 17 00:00:00 2001 From: sayaleeraut Date: Tue, 3 Sep 2019 17:11:57 +0530 Subject: [DHT] : Changing the arguments passed to a function. Earlier arguments passed to function log_volume_info_and_status in the code were (self.mnode, self.volume), which is incorrect. The function takes arguments as (mnode, volname). Changing the second incorrect argument self.volume to self.volname for the function log_volume_info_and_status at all its occurances in the code. Change-Id: If9bca96679f37c2d7cbcf0f34a16df8549110e21 Signed-off-by: sayaleeraut --- tests/functional/dht/test_restart_glusterd_after_rebalance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/functional/dht') diff --git a/tests/functional/dht/test_restart_glusterd_after_rebalance.py b/tests/functional/dht/test_restart_glusterd_after_rebalance.py index a21a16c49..17bfee165 100644 --- a/tests/functional/dht/test_restart_glusterd_after_rebalance.py +++ b/tests/functional/dht/test_restart_glusterd_after_rebalance.py @@ -99,7 +99,7 @@ class RebalanceValidation(GlusterBaseClass): # Log Volume Info and Status before expanding the volume. g.log.info("Logging volume info and Status before expanding volume") - ret = log_volume_info_and_status(self.mnode, self.volume) + ret = log_volume_info_and_status(self.mnode, self.volname) g.log.info("Successful in logging volume info and status of " "volume %s", self.volname) @@ -120,7 +120,7 @@ class RebalanceValidation(GlusterBaseClass): # Log Volume Info and Status after expanding the volume g.log.info("Logging volume info and Status after expanding volume") - ret = log_volume_info_and_status(self.mnode, self.volume) + ret = log_volume_info_and_status(self.mnode, self.volname) # Start Rebalance g.log.info("Starting rebalance on the volume") -- cgit