From 5d5a3b5e1087a4642e0fd7bdf5693367e178c2f0 Mon Sep 17 00:00:00 2001 From: yinkui <13965432176@163.com> Date: Mon, 12 Aug 2019 19:11:04 +0800 Subject: 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> --- .../test_induce_holes_in_layout_by_removebrick_force_then_lookup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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") -- cgit