summaryrefslogtreecommitdiffstats
path: root/tests/functional/glusterd/test_add_identical_brick_new_node.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/glusterd/test_add_identical_brick_new_node.py')
-rw-r--r--tests/functional/glusterd/test_add_identical_brick_new_node.py5
1 files changed, 4 insertions, 1 deletions
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],