summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Adding helper functions to volume libs:Shwetha Panduranga2017-02-061-10/+100
| | | | | | | | | | | 1) To check if volume is exported as nfs/cifs share 2) A function which logs volume info and volume status. This will be used in most of the tests for validation purposes 3) Check if all process of the volume is running or not. This will be used mostly in all the cases for validation purposes. Change-Id: I0cd797e5bfe269da8630b41193ea458be3a720f9 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Modifying the contents of HOWTO to make it more clear on setting up glusto-testsShwetha Panduranga2017-02-061-62/+101
| | | | | | | management node. Change-Id: I206f9f520a0273a53419cd0e05cc3853b2c2c1ab Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Ignore the glustolibs-misc setup.py for validating pep8 standardsShwetha Panduranga2017-02-031-0/+1
| | | | | Change-Id: Ie1fdbdf66020efd65d91f25733075b3637d098e2 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Raise custom exceptions rather assert failuresNigel Babu2017-02-013-16/+46
| | | | | | | | | The setup should never raise an assert failure in a test. Only tests should fail an assert. If an essential test setup doesn't work, we should be raising custom exceptions instead. Change-Id: I6d5cce448132b71b6fde3a39fef894be8b1216d3 Signed-off-by: Nigel Babu <nigelb@redhat.com>
* Fix tox.ini so we can run lint testsNigel Babu2016-12-191-1/+2
| | | | Change-Id: I3f919ab20442eb0f6a4c1efe08bf7600f1dd18a3
* Re-Structuring the directory for more better understanding of test typesShwetha Panduranga2016-12-164-1/+67
| | | | | Change-Id: I9284eb7ddaf727eef2d107e1e886fc60ec760446 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Clean up pyflakes and pep8 errorsNigel Babu2016-12-1221-101/+82
| | | | | Change-Id: Ibdd092118d3bb912716c46fd278ef3c680a6e742 Signed-off-by: Nigel Babu <nigelb@redhat.com>
* docs: add requirements.txt for rtd autoapi genJonathan Holloway2016-12-051-0/+4
| | | | | Change-Id: I7bcf12d76cee00e3ce031c1d6ccacbd3b92a48df Signed-off-by: Jonathan Holloway <jholloway@redhat.com>
* Adding a step-by-step procedure on howto create glusto-tests testrun.Shwetha Panduranga2016-12-051-0/+183
| | | | | Change-Id: I6173f73126a7217d8666eb35177cee681637a052 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Added comments to each section of example gluster config file.Shwetha Panduranga2016-12-041-9/+84
| | | | | Change-Id: Ied0c3e3382145e52a525ad15b3673949742664de Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* docs: initial sphinx setupJonathan Holloway2016-12-048-0/+964
| | | | | Change-Id: Ibeac5bba6423cbf93577d8d11cc8f3540e900a5a Signed-off-by: Jonathan Holloway <jholloway@redhat.com>
* Modifying the glusterbaseclass not to update the defaul values to global config.Shwetha Panduranga2016-12-052-53/+77
| | | | | | | | | For example: if 'volname' is not in mount, then do not update the default volname in g.config['mount']. Change-Id: Ib547b51372b16a08b07c11a5dcf70feca8674075 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Start gluster nfs-server only when the mount type is 'nfs'.Shwetha Panduranga2016-12-012-9/+10
| | | | | Change-Id: Ie7a25927d9bd55a7115adfae4fd550f96f435950 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Improving the GlusterVolumeBaseClass to check for nfs and smb exports.Shwetha Panduranga2016-11-302-116/+54
| | | | | | | | | | Removing starting glusterd, peer probe from VolumeBaseClass and assuming the config/setup phase to handle the glusterd, peer probe. Changing the BVT case to baseclass 'GlusterVolumeBaseClass'. Change-Id: I930d785dfe652b826e4a1853f30a954f98d15ede Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Adding info about glusto-tests.Shwetha Panduranga2016-11-101-3/+97
| | | | | Change-Id: Ic68bf1c2b8782477801ebc43713e4a0076e371eb Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* set nfs.disable to off on the volume to start nfs server on that volume.Shwetha Panduranga2016-11-071-0/+7
| | | | | Change-Id: Ic63a69ec0d0cafcb71059b41625fe054167910d0 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Recursively copy the data_files to the specified location maintaining the sameShwetha Panduranga2016-10-251-7/+3
| | | | | | | directory structure. Change-Id: I1b50bb404066dc1a1562f406896b6a5bbf866a72 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Modifying file_dir_ops to handle/return failures during creation of deep dirsShwetha Panduranga2016-10-251-24/+207
| | | | | Change-Id: I16c14564f3b0a9067e420715319cf21c9459815f Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Added lib_utils.pyArthy Loganathan2016-10-251-0/+662
| | | | | Change-Id: I4cd5061d9df470aed1a620eb3f67cab236645215 Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
* Adding a bvt testcaseShwetha Panduranga2016-10-264-39/+576
| | | | | Change-Id: Ide7e3bac46fbaf354a2a5c8baef8510b4aefec78 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Added volume_list() and get_volume_list() in volume_ops.pyArthy Loganathan2016-10-251-0/+57
| | | | | Change-Id: I66339659158efd3af466ccd83aa243011eee61d8 Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
* Changed GlusterDemoClass to GlusterVolumeBaseClassArthy Loganathan2016-10-251-1/+1
| | | | | Change-Id: I7cb15b6fb6f3d6a2a24c9c1a6677b9d5948142ea Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
* Adding a script to perform fd writesShwetha Panduranga2016-10-201-0/+254
| | | | | Change-Id: I76d6d208618424f020506f1e26493a65da4a97b3 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Adding a sample io program which creates/renames/list files/dirs under given dirShwetha Panduranga2016-10-172-0/+502
| | | | | Change-Id: Iefeadfe3bd943b2488775bb214b98967f8ce7133 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Adding libs for brick ops, volume helpers, mount helpers, gluster baseShwetha Panduranga2016-10-1712-0/+4240
| | | | | | | class, heal related helpers, samba helpers, and windows ops helpers Change-Id: I0ad8fc7548c88e89d2ba6441166b9a38af76cea0 Signed-off-by: Shwetha Panduranga <spandura@redhat.com>
* Adding library functions for bitrot, quota, rebalance, tiering, snap and ↵Arthy Loganathan2016-10-056-0/+4060
| | | | | | | volume ops Change-Id: Iadb0772fc338f5dffd485b2526babaffb3494be6 Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
* glustolibs: add initial treeJonathan Holloway2016-09-297-0/+105
| | | | | Change-Id: I08900d87fcd9a11b4f157d235facb766905d5ae2 Signed-off-by: Jonathan Holloway <jholloway@redhat.com>
* readme: add library names (initial repo test)Jonathan Holloway2016-09-261-0/+3
| | | | | Change-Id: I0c5c38a65451eaddeb93c00c2c0ccfd18931424b Signed-off-by: Jonathan Holloway <jholloway@redhat.com>
* Initial commitNigel Babu2016-09-271-0/+2
Change-Id: I79b58f0be2319e22462dae03a266f1d18b413ff4