summaryrefslogtreecommitdiffstats
path: root/tests/functional/snapshot
Commit message (Collapse)AuthorAgeFilesLines
* Snapshot: Delete Multiple snapshots of volumes simultaneouslysrivickynesh2018-08-291-0/+281
| | | | | | | | | Delete multiple snapshots of the original and cloned volumes simultaneously. Change-Id: Ic5165b896d2adf4cb51ad4252b7caad7bb6f0892 Signed-off-by: srivickynesh <sselvan@redhat.com> Signed-off-by: Sri <sselvan@redhat.com>
* snapshot:: performing rebalance on cloned volumesrivickynesh2018-08-091-0/+235
| | | | | | | | | | | Test Cases in this module tests the Creation of clone from snapshot of one volume. add-brick to cloned volume and perform rebalance operation on cloned volume Change-Id: I34de5c53bbf68b1c80962295e4e4d0535da78990 Signed-off-by: srivickynesh <sselvan@redhat.com> Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* Snapshot: Scheduler behaviour when shared volume is mounted/not mountedsrivickynesh2018-08-091-0/+166
| | | | | | | | | | Test Cases in this module tests the snapshot scheduler command such as initialise scheduler, enable scheduler, status of scheduler. Change-Id: Id18e83b6a6bc37820f7b2d23f86e7d68bbddef0e Signed-off-by: srivickynesh <sselvan@redhat.com> Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* Fix spelling mistake across the codebaseNigel Babu2018-08-0713-27/+27
| | | | Change-Id: I46fc2feffe6443af6913785d67bf310838532421
* snapshot: fix for uss activate and deactivate caseSri Vignesh2018-08-061-9/+8
| | | | | Change-Id: Ia177213ca46af917dc83e1482c6061d425e30545 Signed-off-by: Sri Vignesh <sselvan@redhat.com>
* snapshot:: configuring snapshot max-hard-limit and max-soft-limit casesrivickynesh2018-08-061-3/+4
| | | | | | | | The purpose of this test is to validate snapshot hard and soft max-limt options. Change-Id: I000b840421620094287ba393367cad7c8df8e23a Signed-off-by: srivickynesh <sselvan@redhat.com>
* snapshot:: snapshot creation testcasesrivickynesh2018-08-021-25/+25
| | | | | | | The purpose of this test is to validate snapshot create Change-Id: Icacafc48739e6322fb925e117df63462d690251f Signed-off-by: srivickynesh <sselvan@redhat.com>
* snapshot:: configuring max-hard and softlimit of snapshotssrivickynesh2018-08-021-9/+11
| | | | | | | | This testcase contains tests which verifies the snapshot max-hardlimit and soft-limit and deletion of snapshots for a volume Change-Id: Iff00475abdaf01b2beac72545774f477e99a13ce Signed-off-by: srivickynesh <sselvan@redhat.com>
* Shorten all the logs around verify_io_procsYaniv Kaul2018-07-179-46/+48
| | | | | | | | No functional change, just make the tests a bit more readable. It could be moved to a decorator later on, wrapping tests. Change-Id: I484bb8b46907ee8f33dfcf4c960737a21819cd6a Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
* snapshot: Activate/Deactivate status when glusterd is downsrivickynesh2018-07-051-0/+204
| | | | | | | | | | Test Cases in this module tests the snapshot activation and deactivation status when glusterd is down. Change-Id: I9ae97ceba40ce2511b1b731d5e02990f78f424e9 Signed-off-by: srivickynesh <sselvan@redhat.com> Signed-off-by: Vignesh <vignesh@localhost.localdomain>
* snapshot : validate restore on online volumeSunny Kumar2018-07-011-0/+159
| | | | | | | | This test case will validate snap restore on online volume. When we try to restore online volume it should fail Change-Id: If542a6052ee6e9eec7d5e1268f480f047916e66c Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
* snapshot:: .snaps already present before uss is enabledsrivickynesh2018-07-011-0/+245
| | | | | | | | | | Test Cases in this module tests the USS where .snaps folder is already created and checks for behaviour before enabling uss and after disabling uss Change-Id: I9c6dcca1198b7fed37103cc21f3ecba72bfa20a5 Signed-off-by: srivickynesh <sselvan@redhat.com>
* snapshot: Listing Invalid casessrivickynesh2018-06-301-0/+117
| | | | | | | | | Test Cases in this module tests the snapshot creation and listing Invalid names and parameters. Change-Id: Iab3dd71a83176d850780c0834f95d4e8ac1e8997 Signed-off-by: srivickynesh <sselvan@redhat.com>
* Snapshot: Create clone and check for self healsrivickynesh2018-06-291-0/+295
| | | | | | | | Create a clone and check for self heal operation on the cloned volume. Change-Id: Icf61f996fcd503a6c0d0bf936900858b715a4742 Signed-off-by: srivickynesh <sselvan@redhat.com>
* snapshot : validate snapshot delete when glusterd is downSunny Kumar2018-06-291-0/+128
| | | | | | | | | This test cases validates snapshot delete behaviour when glusterd is down on one node. When we bring up the brought down node, post handshake number of snaps should be consistent. Change-Id: If7ed6c3f384658faa4eb3de8577e38d3fe55f980 Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
* Snapshot: Delete an existing snapshot scheduled Jobsrivickynesh2018-06-281-0/+238
| | | | | | | | Test Cases in this module tests the snapshot scheduler for deleting existing scheduled jobs Change-Id: Ibd1a00fb336f279d8c13a89ae513a914977f593d Signed-off-by: srivickynesh <sselvan@redhat.com>
* Snapshot: deleting orginal volume and check clone volumesrivickynesh2018-06-271-0/+207
| | | | | | | | | | Test Cases in this module tests the Creation of clone from snapshot of volume and delete snapshot and original volume. Validate cloned volume is not affected. Change-Id: Ic61defe96fed6adeab21b3715878ac8093156645 Signed-off-by: srivickynesh <sselvan@redhat.com>
* snapshot: delete a snap of a volumesrivickynesh2018-06-271-0/+110
| | | | | | | | | Test Cases in this module tests the snapshot deletion with snapname, with volumename and delete all snapshot commands. Change-Id: I1e4e361e58b35744e08e63c48b43d9e8caf2e953 Signed-off-by: srivickynesh <sselvan@redhat.com>
* snapshot:: Delete Snaps and list snaps after restarting glusterdsrivickynesh2018-06-261-0/+129
| | | | | | | | | Test Cases in this module tests the snapshot listing before and after glusterd restart. Change-Id: I7cabe284c52974256e1a48807a5fc1787789583a Signed-off-by: srivickynesh <sselvan@redhat.com>
* Snapshot: Enable USS on volume when snapshots are taken when IO is going onsrivickynesh2018-06-261-0/+178
| | | | | | | | Test Cases in this module tests the uss functionality while io is going on. Change-Id: Ie7bf440b02980a0606bf4c4061f5a1628179c128 Signed-off-by: srivickynesh <sselvan@redhat.com>
* snapshot : snapshot scheduler behaviourSunny Kumar2018-06-251-0/+151
| | | | | | | | This test cases will validate snapshot scheduler behaviour when we enable/disable scheduler. Change-Id: Ia6f01a9853aaceb05155bfc92cccba686d320e43 Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
* snapshot : validate uss when brick is downSunny Kumar2018-06-251-0/+202
| | | | | | | | This test case will validate USS behaviour when we enable USS on the volume when brick is down. Change-Id: I9be021135c1f038a0c6949ce2484b47cd8634c1e Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
* snapshot : validating USS functionalitySunny Kumar2018-06-191-0/+235
| | | | | | | | Activated snaps should get listed in .snap directory while deactivated snap should not. Change-Id: I04a61c49dcbc9510d60cc8ee6b1364742271bbf0 Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
* Snapshot: Create many clones and verify volume list informationsrivickynesh2018-06-191-0/+166
| | | | | | | | Create 10 clones of snapshot and verify gluster volume list information Change-Id: Ibd813680d1890e239deaf415469f7f4dccfa6867 Signed-off-by: srivickynesh <sselvan@redhat.com>
* Snapshot: Information of snapshots after restarting glusterdsrivickynesh2018-06-171-0/+136
| | | | | | | | Test Cases in this module tests the snapshot information after glusterd is restarted. Change-Id: I7c5e761d8a8cd261841d064dbd94093e1c5b6edd Signed-off-by: srivickynesh <sselvan@redhat.com>
* Snapshot: snapshot information testcasessrivickynesh2018-06-131-0/+113
| | | | | | | | Information of snapshots taken for a specified snapshot/volume or all snapshots present in the system Change-Id: Ibe355053848b234e0892c0b7f68bfed053f8867a Signed-off-by: srivickynesh <sselvan@redhat.com>
* Snapshot: Status and Info Invalid casessrivickynesh2018-06-041-0/+137
| | | | | Change-Id: I70dc1930dabebc8e0af4c83c8b70842f92f9865a Signed-off-by: srivickynesh <sselvan@redhat.com>
* Snapshot: Testcase to validate snapshot mountsrivickynesh2018-05-311-0/+207
| | | | | Change-Id: I3af948e10673737d06e352e3bb8a1bec58ea3c55 Signed-off-by: srivickynesh <sselvan@redhat.com>
* The purpose of this test case is to ensure USS validationvivek das2018-05-311-0/+225
| | | | | | | | | | Where .snaps folder is only readable and listing all the snapshots and it's content. Also ensures that deactivated snapshot doesn't get listed. Change-Id: I25ad451986c861038450c0369e6cbc130b8945bb Signed-off-by: vivek das <vdas@redhat.com> Signed-off-by: srivickynesh <sselvan@redhat.com>
* Snapshot: validate Snapshot activation and deactivationvivek das2018-05-091-0/+170
| | | | | | | | | | the purpose of this test case is to validate Snapshot activation and deactivation. Pre-Activate, After Activate and After Deactivate Change-Id: I7b502922171247954801feefe0409b1751a1d07f Signed-off-by: vivek das <vdas@redhat.com> Signed-off-by: srivickynesh <sselvan@redhat.com>
* test : snapshot creation during rebalanceSunny Kumar2018-05-071-0/+251
| | | | | | | | | The purpose of this test is to validate snapshot create during rebalance. Change-Id: I8c58e0dd6571e648c1410342db988b95b82aaa1b Signed-off-by: Sunny Kumar <sunkumar@redhat.com> Signed-off-by: srivickynesh <sselvan@redhat.com>
* Validate activate on create set command for snapshot.vivek das2018-05-071-0/+174
| | | | | | | Signed-off-by: vivek das <vdas@redhat.com> Change-Id: I418d3e1900acb8e79e4063a191164866544acd5d Signed-off-by: srivickynesh <sselvan@redhat.com>
* test : snapshot max-hard-limit and max-soft-limitSunny Kumar2018-05-071-0/+280
| | | | | | | | | The purpose of this test is to validate snapshot hard and soft max-limt options. Change-Id: I63e661549977251104c120d7b25422ff57fdadeb Signed-off-by: Sunny Kumar <sunkumar@redhat.com> Signed-off-by: srivickynesh <sselvan@redhat.com>
* Creation of clone from snapshot of one volumesrivickynesh2018-04-301-0/+248
| | | | | Change-Id: Ice1e7139613c0d2f15c95e86e6c1e7b595d390a5 Signed-off-by: srivickynesh <sselvan@redhat.com>
* Adding snapshot delete testcasesrivickynesh2018-04-231-0/+196
| | | | | Change-Id: Ide757078782ad5337d501f3c3ca39036910d995b Signed-off-by: srivickynesh <sselvan@redhat.com>
* Fix up coding style issues in testsNigel Babu2018-03-275-76/+74
| | | | Change-Id: I14609030983d4485dbce5a4ffed1e0353e3d1bc7
* Enable snapshot auto-delete and validate with multiple snapshot creationsrivickynesh2018-02-271-0/+147
| | | | | Change-Id: Iabe08da9676b027de7b46622ee73162dcbffd98c Signed-off-by: srivickynesh <sselvan@redhat.com>
* test : snapshot createSunny Kumar2018-02-161-0/+204
| | | | | | | The purpose of this test is to validate snapshot create Change-Id: Ia2941a45ee62661bcef855ed4ed05a5c0aba6fb7 Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
* test : snapshot restoreSunny Kumar2018-02-161-0/+279
| | | | | | | The purpose of this test is to validate restore of a snapshot. Change-Id: Icd73697b10bbec4a1a9576420207ebb26cd69139 Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
* test : create >256 snaps for a volumeSunny Kumar2018-02-161-0/+174
| | | | | | | The purpose of this test is to validate create snap>256 Change-Id: Iea5e2ddcc3a5ef066cf4f55e1895947326a07904 Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
* Creating snapshot when brick is downsrivickynesh2018-02-062-0/+146
Change-Id: Ic1191e993db10a110fc753436ec60051adfd5350 Signed-off-by: srivickynesh <sselvan@redhat.com>