diff options
author | Sri <sselvan@redhat.com> | 2018-09-19 07:13:42 -0400 |
---|---|---|
committer | Vijay Avuthu <vavuthu@redhat.com> | 2018-09-21 10:40:17 +0000 |
commit | 30a6a6c0d60038aedc19542e9e9b32433d253f71 (patch) | |
tree | f599d7f2eb5b70e40bbd86b94c21c26b97400f75 | |
parent | 63d4c2c00af279fb38087be5b7959ce8fb2ed704 (diff) |
Fix for test_add_identical_brick_new_node.py
Change-Id: Ic60e9da0a97818cba59b5be5048492e54fc0edb3
Signed-off-by: Sri <sselvan@redhat.com>
-rw-r--r-- | tests/functional/glusterd/test_add_identical_brick_new_node.py | 5 |
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], |