summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoryinkui <13965432176@163.com>2019-08-12 19:11:04 +0800
committerBala Konda Reddy M <bmekala@redhat.com>2019-09-04 15:58:05 +0000
commit5d5a3b5e1087a4642e0fd7bdf5693367e178c2f0 (patch)
tree2ca3e44759474a55dcbd119a643cc3f94c7b91ec /tests
parent875ba99936c2fb8947d3f35e08b412e2223a54a2 (diff)
access self.mnod so we must get layout in mount_point/dirpath, and change the log.
Change-Id: I361b2c59108b19480906f6dfd49b023ed1eb05cd Signed-off-by: yinkui <13965432176@163.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/dht/test_induce_holes_in_layout_by_removebrick_force_then_lookup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/dht/test_induce_holes_in_layout_by_removebrick_force_then_lookup.py b/tests/functional/dht/test_induce_holes_in_layout_by_removebrick_force_then_lookup.py
index 031b18dc9..a42f01f9b 100644
--- a/tests/functional/dht/test_induce_holes_in_layout_by_removebrick_force_then_lookup.py
+++ b/tests/functional/dht/test_induce_holes_in_layout_by_removebrick_force_then_lookup.py
@@ -111,8 +111,8 @@ class RebalanceValidation(GlusterBaseClass):
# DHT Layout validation
g.log.debug("Verifying hash layout values %s:%s",
- self.clients[0], self.mounts[0].mountpoint)
- ret = validate_files_in_dir(self.clients[0], self.mounts[0].mountpoint,
+ self.mnode, mount_point + dirpath)
+ ret = validate_files_in_dir(self.mnode, mount_point + dirpath,
test_type=LAYOUT_IS_COMPLETE,
file_type=FILETYPE_DIRS)
self.assertTrue(ret, "LAYOUT_IS_COMPLETE: FAILED")