summaryrefslogtreecommitdiffstats
path: root/tests/functional/quota
Commit message (Collapse)AuthorAgeFilesLines
* Fix tests with old quota functionsNigel Babu2018-06-132-17/+17
| | | | | | We renamed the quota functions, so this caused some conflicts on master. Change-Id: I5eb6381dc77dcd99929cbc20173941bf1bd2290d
* Quota: Fixing quota libs in glustoSanoj Unnikrishnan2018-06-133-20/+20
| | | | | | | | | | - added quota_libs.py with quota_validate library - Removed redundant function in quota_ops. - changed naming of quota_ops to be consistent and intutive w.r.t cli Change-Id: I4faf448ea308c9e04b548d6174d900fcf56978a5 Signed-off-by: Sanoj Unnikrishnan <sunnikri@redhat.com>
* Quota : Test case for quota on single brick volumeVinayak Papnoi2018-06-111-0/+159
| | | | | | | | | This test case covers the quota functionality for a volume with a single brick (1x1). Quota help cli command is also validated here. Change-Id: I772f4646e2229c21f4547122410633715ef47668 Signed-off-by: Vinayak Papnoi <vpapnoi@redhat.com>
* Quota : Test case to validate limits on various directories [breadth]Vinayak Papnoi2018-06-101-0/+185
| | | | | | | | | | | | | | | | Verifying directory quota functionality with respect to the limit-usage option. Set limits on various directories [breadth] and check for the quota list of all the directories. * Enable Quota * Create 10 directories and set limit of 1GB on each directory * Perform a quota list operation * Create some random amount of data inside each directory * Perform a quota list operation Change-Id: I3ffc5b99018365eca21ecbdd55d6d9c176f36d6f Signed-off-by: Vinayak Papnoi <vpapnoi@redhat.com> Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Quota: Negative test cases for Quotavenkata edara2018-05-231-0/+145
| | | | | | | | | This testcase will enable/disable quota by giving negative inputs and also try to enable timeouts by giving huge value , all testcases have to return false. Change-Id: I3996a38a728c20199ef969d03ff9e11dc774ee6c Signed-off-by: venkata edara <redara@redhat.com>
* Quota : Test case for quota listVinayak Papnoi2018-05-171-0/+153
| | | | | | | | | This test case covers the quota list functionality with and without the path. Both outputs for quota list with and without path should match. Change-Id: I251cae896558e09bee3d4a689f8287df2b0bb585 Signed-off-by: Vinayak Papnoi <vpapnoi@redhat.com>
* Fix up coding style issues in testsNigel Babu2018-03-272-4/+4
| | | | Change-Id: I14609030983d4485dbce5a4ffed1e0353e3d1bc7
* quota: check if quota limit can be set on a directory that that not existhari gowtham2018-02-071-0/+81
Once a volume is mounted, and quota is enabled, we have to make sure that quota cannot be set a directory that does not exist. Change-Id: Ic89551c6d96b628fe04c19605af696800695721d Signed-off-by: hari gowtham <hgowtham@redhat.com>