summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorsayaleeraut <saraut@redhat.com>2019-09-09 16:51:05 +0530
committerBala Konda Reddy M <bmekala@redhat.com>2019-09-11 06:09:56 +0000
commit2836e661a7950a1a490f033da1dfe512bf46961f (patch)
treeaa212b74d02f8d96ae57d67fec7b4b5a8c93be7c /tests
parent970de83498957ac85a7d7bb6664cf2d578e82e87 (diff)
[DHT] : Modifying the messages in g.log.info and ExecutionError
The ExecutionError msg at line 66 should be "failed to clean-up volume" because it is under tearDownClass. The g.log.info msg at line 123 should be "Checking if gfid xattr of directories is displayed and is same on all the bricks on the server node" as the code below it checks for the gfid xattr on the bricks on server node and not if it is displayed on mount point. Change-Id: If4e20e3487a44c1cc7047504d19cc9859424ccd4 Signed-off-by: sayaleeraut <saraut@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/dht/test_dht_create_dir.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/functional/dht/test_dht_create_dir.py b/tests/functional/dht/test_dht_create_dir.py
index 2ab0789a8..2da473229 100644
--- a/tests/functional/dht/test_dht_create_dir.py
+++ b/tests/functional/dht/test_dht_create_dir.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2018 Red Hat, Inc. <http://www.redhat.com>
+# Copyright (C) 2017-2019 Red Hat, Inc. <http://www.redhat.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -63,7 +63,7 @@ class TestDhtClass(GlusterBaseClass):
g.log.info("Starting to clean up Volume %s", cls.volname)
ret = cls.unmount_volume_and_cleanup_volume(cls.mounts)
if not ret:
- raise ExecutionError("Failed to create volume")
+ raise ExecutionError("Failed to clean-up volume")
g.log.info("Successful in cleaning up Volume %s", cls.volname)
GlusterBaseClass.tearDownClass.im_func(cls)
@@ -120,8 +120,8 @@ class TestDhtClass(GlusterBaseClass):
self.assertTrue(flag, "Layout has some holes or overlaps")
g.log.info("Layout is completely set")
- g.log.info("checking if xattrs of directories are displayed on "
- "mount point")
+ g.log.info("Checking if gfid xattr of directories is displayed and"
+ "is same on all the bricks on the server node")
brick_list = get_all_bricks(self.mnode, self.volname)
for direc in list_of_all_dirs:
list_of_gfid = []