summaryrefslogtreecommitdiffstats
path: root/tests/functional/dht
diff options
context:
space:
mode:
authorsayaleeraut <saraut@redhat.com>2019-09-03 17:11:57 +0530
committerBala Konda Reddy M <bmekala@redhat.com>2019-12-09 09:46:40 +0000
commit900bc9968ef050b6b68323198c8ae5d4662f14a9 (patch)
tree160b58ad76ff218902edddbe6b2daebd9bcb5fbc /tests/functional/dht
parent0f062a2e39b9f9b2dfd6855e8e808bf548d95bb1 (diff)
[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 <saraut@redhat.com>
Diffstat (limited to 'tests/functional/dht')
-rw-r--r--tests/functional/dht/test_restart_glusterd_after_rebalance.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/dht/test_restart_glusterd_after_rebalance.py b/tests/functional/dht/test_restart_glusterd_after_rebalance.py
index a21a16c..17bfee1 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")