summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bug-878004.t
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2013-07-12 15:00:07 +0200
committerAnand Avati <avati@redhat.com>2013-07-15 10:44:27 -0700
commitc50aa14008f9612d273acb81470f544cad6cff1a (patch)
tree6e1c8801c3480ae7af54ddd8df90499510b2d42f /tests/bugs/bug-878004.t
parent3f6a5702642837411477f241c9756c1872d46b1f (diff)
tests: call 'cleanup' at the end of each test
Some tests do not cleanup after themselves. That is bad behaviour and makes it difficult to run single tests and verify the state of the system afterwards. Change-Id: I4ac5401d790d6bc81e6975fd1384874b21d6cf8a BUG: 983975 Signed-off-by: Niels de Vos <ndevos@redhat.com> Reviewed-on: http://review.gluster.org/5328 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'tests/bugs/bug-878004.t')
-rw-r--r--tests/bugs/bug-878004.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/bugs/bug-878004.t b/tests/bugs/bug-878004.t
index 5397be2a663..5bee4c62fc3 100644
--- a/tests/bugs/bug-878004.t
+++ b/tests/bugs/bug-878004.t
@@ -25,4 +25,5 @@ EXPECT '2' brick_count $V0
TEST $CLI volume remove-brick $V0 $H0:$B0/${V0}3;
EXPECT '1' brick_count $V0
+cleanup;