From 30a6a6c0d60038aedc19542e9e9b32433d253f71 Mon Sep 17 00:00:00 2001 From: Sri Date: Wed, 19 Sep 2018 07:13:42 -0400 Subject: Fix for test_add_identical_brick_new_node.py Change-Id: Ic60e9da0a97818cba59b5be5048492e54fc0edb3 Signed-off-by: Sri --- tests/functional/glusterd/test_add_identical_brick_new_node.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/functional/glusterd/test_add_identical_brick_new_node.py b/tests/functional/glusterd/test_add_identical_brick_new_node.py index c336f180b..240436d88 100644 --- a/tests/functional/glusterd/test_add_identical_brick_new_node.py +++ b/tests/functional/glusterd/test_add_identical_brick_new_node.py @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - +import time import string from glusto.core import Glusto as g from glustolibs.gluster.gluster_base_class import GlusterBaseClass, runs_on @@ -110,6 +110,9 @@ class TestAddIdenticalBrick(GlusterBaseClass): g.log.info("peer probe is success from %s to " "%s", self.servers[0], self.servers[1]) + # wait for some time before add-brick + time.sleep(2) + # Replace just host IP to create identical brick add_bricks = [] add_bricks.append(string.replace(bricks_list[0], -- cgit