summaryrefslogtreecommitdiffstats
path: root/tests/functional/glusterd/test_glusterd_replace_brick.py
diff options
context:
space:
mode:
authorNigel Babu <nigelb@redhat.com>2018-05-08 17:08:08 +0530
committerJonathan Holloway <jholloway@redhat.com>2018-05-09 06:39:35 +0000
commitc6c16a1eed4e3105fc45640c59d67c136fc09b6d (patch)
tree576ce458beae4bff042f35f21da237108623fb86 /tests/functional/glusterd/test_glusterd_replace_brick.py
parentec9a468e162f3cc00a588956fd6b29d9c0c2bfae (diff)
Fix replace brick failure and peer probe failure
The replace brick setUp function had a syntax error and a wrong assert. The peer probe tearDown method did not work in a situation where the test failed leading to cascading failures in other tests. Change-Id: Ia7e0d85bb88c0c9bc6d489b4d03dc7610fd4f129
Diffstat (limited to 'tests/functional/glusterd/test_glusterd_replace_brick.py')
-rw-r--r--tests/functional/glusterd/test_glusterd_replace_brick.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/glusterd/test_glusterd_replace_brick.py b/tests/functional/glusterd/test_glusterd_replace_brick.py
index afcb8a85c..eec182f55 100644
--- a/tests/functional/glusterd/test_glusterd_replace_brick.py
+++ b/tests/functional/glusterd/test_glusterd_replace_brick.py
@@ -30,7 +30,7 @@ from glustolibs.gluster.brick_libs import are_bricks_online
@runs_on([['replicated', 'distributed-replicated', 'dispersed',
'distributed-dispersed'], ['glusterfs']])
class TestReplaceBrick(GlusterBaseClass):
- def setup(self):
+ def setUp(self):
GlusterBaseClass.setUp.im_func(self)
self.test_method_complete = False
# Creating a volume and starting it