[Bugs] [Bug 1333738] distaf: Add GlusterBaseClass (gluster_base_class.py) to distaflibs-gluster.
bugzilla at redhat.com
bugzilla at redhat.com
Fri May 20 11:31:04 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1333738
--- Comment #5 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/14239 committed in master by M S Vishwanath
Bhat (vbhat at redhat.com)
------
commit 6837b2793bc3d2cc488aa49491f3f5ff09e925b7
Author: M S Vishwanath Bhat <msvbhat at gmail.com>
Date: Thu May 19 18:53:35 2016 +0530
distaf: Adding GlusterBaseClass to distaflibs-gluster
GlusterBaseClass is the base class for gluster related test cases.
This has setup() method which takes care of creating volumes with
correct volume type after checking global_mode flags etc. So all tests
are recommended to use this base class.
The teardown() method is to teardown the setup that test has created.
Each test case should teardown, any setup it does apart from what is done
in setup().
The cleanup() method is used internally for cleaning up the volumes when
there is a change of volume type between the tests.
This patch also makes relevant import path changes.
The changes from tc.nodes[] to tc.servers[] in distaf-core broke few
tests. This patch fixes them.
Change-Id: I1a8ae20ca7cac13b7d25c587f98c23b430054a57
BUG: 1333738
Signed-off-by: M S Vishwanath Bhat <msvbhat at gmail.com>
Reviewed-on: http://review.gluster.org/14239
Tested-by: M S Vishwanath Bhat <vbhat at redhat.com>
Smoke: Gluster Build System <jenkins at build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Apeksha D khakharia <akhakhar at redhat.com>
Reviewed-by: Arthy Loganathan <aloganat at redhat.com>
Reviewed-by: ShwethaHPanduranga
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=JT0QBzMMTl&a=cc_unsubscribe
More information about the Bugs
mailing list