summaryrefslogtreecommitdiffstats
path: root/tests/functional
diff options
context:
space:
mode:
authorBala Konda Reddy M <bala12352@gmail.com>2020-05-18 19:43:59 +0530
committerBala Konda Reddy M <bala12352@gmail.com>2020-05-18 23:10:08 +0530
commitdd5dbb04312664836e3e2cfc7fc36867d65c6aa7 (patch)
tree547ce4a403b89d92d67efbdb07fee1fd9876b4e6 /tests/functional
parentf0b1fb7d37843550ad3ab464ebbf20e762227cb1 (diff)
[Libfix] Add parameter for volume create only
Problem: Currently setup_volume in volume_libs.py and gluster_base_class.py are to create volume and start it. There are tests, where only volume_create is required and if the test has to run on all volume types. Any contributor have to do all the validations which are already implemented in setup_volume and classmethod of setup volume in the gluster_base_class to their test. Solution: Added a parameter in the setup_volume() function "create_only" by default it is false, unless specified this paramter setup_volume will work as it is. similarly, have added a parameter in classmethod of setup_volume in gluster_base_class.py "only_volume_create", here also defaults to false unless specified. Note: After calling "setup_volume() -> volume_stop" is not same as just "volume_create()" in the actual test. Change-Id: I76cde1b668b3afcac41dd882c2a376cb6fac88a3 Signed-off-by: Bala Konda Reddy M <bala12352@gmail.com>
Diffstat (limited to 'tests/functional')
0 files changed, 0 insertions, 0 deletions