summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* This Tc is used to check remove brick on a dispersed volumeubansal2019-02-071-0/+166
| | | | | Change-Id: Id8cfc0dd31cf4f6f381ec7bb07d4aba06d52b43e Signed-off-by: ubansal <ubansal@redhat.com>
* Test to check if setting volume level options at cluster level is crashing ↵kshithijiyer2019-02-071-0/+72
| | | | | | | glusterd Change-Id: I6ee034f019a4aa36a83e087f2d9fed007e4fd9d7 Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
* This testcase checks add-brick on a dispersed volumeubansal2019-02-071-0/+186
| | | | | Change-Id: I640f5c554fab791aa5f196415c5204f7cbca83a4 Signed-off-by: ubansal <ubansal@redhat.com>
* Increasing the wait time for rebalance after remove brick operationJilju Joy2019-02-051-1/+1
| | | | Change-Id: Idc864d0efb02d021d7e30908f1a9ef5553afee65
* Increase wait time for the completion of rebalance. Correction in assert ↵Jilju Joy2019-01-311-4/+4
| | | | | | statement Change-Id: I4333ab2eb63271c5c35756798ea515c7a4d4a3fb
* Delete quorum method from old file. Added fixes for flake8Vitalii Koriakov2019-01-303-801/+140
| | | | | Change-Id: I2acf835a4cf7301c64c4c8a9423f78672cdf9aa4 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* New quorum behavior fixesVitalii Koriakov2019-01-281-0/+651
| | | | | Change-Id: I364054c35f623893700798bedef965fe05f6aabf Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Fixed jira issue RHGSQE-33kshithijiyer2019-01-281-3/+10
| | | | | | | | Altered code to check for daemons only on servers where the bricks for a given volume are present. Change-Id: I79312f3b09fd5e1b0fdf6db40e29481662e56303 Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
* Delete test_client_side_quorum_with_auto_option and ↵Vitalii Koriakov2019-01-251-360/+0
| | | | | | | test_client_side_quorum_with_auto_option_overwrite_fixed Change-Id: I5e22228eaf8574f2ccb1ae38cb98ec01e6493fdf Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* fixing the quorum changes according to new behaviourVijay Avuthu2019-01-251-3/+4
| | | | | | | If quorum is not met, reads/writes fails with transport end point not connected Change-Id: I219c99fc5b96147c059174daf0383454e1bd2831
* New quorum behavior fixesVitalii Koriakov2019-01-251-0/+333
| | | | | Change-Id: I0a2c0ba2e28fc23fe3ff2db57b4ba3c0f08993aa Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* New quorum behavior fixesVitalii Koriakov2019-01-251-0/+218
| | | | | Change-Id: I156e80e958d9e4c7aeec3a97bbcb16e8bfa36f30 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* This testcase checks that EC version of bricks are not updated when non FOPs ↵ubansal2019-01-251-0/+115
| | | | | | operation are performed like chmod Change-Id: I797253cd4454359bd8f0596c322b2eb71a8a4751
* Correction in verification of volume/sub_directory unmountJilju Joy2019-01-243-6/+6
| | | | Change-Id: I2abad563b965d67520b8bea6da39b30422d7d028
* Fixed jira issue RHGSQE-29 and added quorum reset codekshithijiyer2019-01-242-30/+50
| | | | | Change-Id: Ibd50170d2c3172d7b98c2174630d31a066762f7c Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
* Fixed jira issue RHGSQE-31kshithijiyer2019-01-231-13/+16
| | | | | Change-Id: I627c78792c6c1ea12c4a023095a4a983f8cee9b0 Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
* Reset quorum value to defaultkshithijiyer2019-01-231-0/+9
| | | | | Change-Id: I0486abff96ea3ea626ce4d18ac0c24f10ed6a846 Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
* Reverting quorum value back to 51%kshithijiyer2019-01-231-0/+7
| | | | | Change-Id: I9e61480ff93d0c16b66eeddacdaef715a0b47d1c Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
* Fix in teardown()kshithijiyer2019-01-221-10/+19
| | | | | Change-Id: Ie44703a9d114b9ecaa5bbce07a98c8a040393f2c Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
* Fix: Volume create should fail when a node is downBala Konda Reddy M2019-01-221-2/+6
| | | | | | | | | | | | Earlier while volume creation randomly selected one node and stopped gluster but the volume type used in the test is pure distribute and default glusto config takes 4 bricks. With the fix now randomly selecting only first 4 nodes for volume creation and it will fail. Change-Id: I3cf2fc8281c9747b190e1fe9ef471edbb2c4d2ca Signed-off-by: Bala Konda Reddy M <bmekala@redhat.com>
* Reverting back quorum value to 51%kshithijiyer2019-01-221-6/+8
| | | | | Change-Id: I7494b877dff64e195a3517af0176e2a00fa2a86c Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
* Reverting back quorum value to 51%kshithijiyer2019-01-221-7/+8
| | | | | Change-Id: I7361059b663ea19c08a44c4763881634703d36a4 Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
* Reverting quorum value back to 51%kshithijiyer2019-01-181-0/+8
| | | | | Change-Id: Ic7f61241addec2ad81c4ef05dd3268c013dbb083 Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
* Reverting the quorum ratio to 51Bala Konda Reddy M2019-01-181-1/+10
| | | | | Change-Id: Iac928311281fac68a5e0c773d87842a35c8d499e Signed-off-by: Bala Konda Reddy M <bmekala@redhat.com>
* Avoid running on 'dispersed' and 'distributed-dispersed' volume types ↵Jilju Joy2019-01-141-2/+1
| | | | | | | | because of bz 1663375 The change will be reverted after the bug 1663375 is resolved Change-Id: Id2b2fb8fdd090c5d9e8495e8f8907dd616bf6e88
* changing testcase names to reflect uniquenessnagpavanchilakam2019-01-042-2/+2
| | | | Change-Id: I35dd3c387c7b6eb3957c5a790af9ff8693403202
* Moved test_glustershd_on_all_volume_types to separate folderVitalii Koriakov2018-12-272-223/+271
| | | | | Change-Id: I3d749c5d131973217d18fc1158236806645e4ab4 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Per BZ 1401969, modifying the IO pattern to write single large filesAnees Patel2018-12-201-38/+55
| | | | | | | | | | | | When eager-lock is on, and two writes happen in parallel on a FD, Arbiter becoming source of heal is observed, hence modifing the IO pattern, Also this is a race-condition, hence executing the same remove-brick cycle thrice per BZ 1401969, this patch also takes care of multiple clients writing to different files/dirs, no two clients writing to same file Change-Id: If0003afb675bbcf9f6b555b43e9a11e4def5435c Signed-off-by: Anees Patel <anepatel@redhat.com>
* Fixing the test-case to delete brick directories of replaced bricks, As this ↵Anees Patel2018-12-112-158/+206
| | | | | | | was not handled by teardown class Change-Id: I789adbf0909c5edd0a2eb19ed4ccebcb654700fd Signed-off-by: Anees Patel <anepatel@redhat.com>
* Distribute to replica 2 conversion is done with force option to avoid ↵Anees Patel2018-12-091-1/+1
| | | | | | | split-brain warning per BZ1579758 Change-Id: I674557e153234e0f6af20f12d168b744bda3a3f8 Signed-off-by: Anees Patel <anepatel@redhat.com>
* Moved test_data_self_heal_algorithm_full_default from afr to arbiter folderVitalii Koriakov2018-12-062-148/+243
| | | | | Change-Id: I04ffdedb1ce25ab05239c77b4dd5893ce18b32f7 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Moved test_self_heal_differing_in_file_type from afr to arbiter folderVitalii Koriakov2018-12-062-193/+289
| | | | | Change-Id: I9f33c84be39bdca85909c2ae337bd4482532d061 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Moved test_existing_glustershd_should_take_care_of_self_healing to separate ↵Vitalii Koriakov2018-12-062-230/+256
| | | | | | | folder Change-Id: I1fb4497ac915c7a93f223ef4e6946eeb4dcd0e90 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Quorum ratio not reset to defaultroot2018-12-061-1/+8
| | | | | | | | Earlier quorum ratio is not reset to default which affects the remaining cases.` Change-Id: I5b2e6c23c5b9cd4cfb310534a7ff89a99bf0931b Signed-off-by: root <root@localhost.localdomain>
* Modified the test per BZ Bug 1579758root2018-12-021-1/+1
| | | | | Change-Id: I8d15f482dbde12670975e32af685570a0eaa50b6 Signed-off-by: Anees <anepatel@redhat.com>
* Quota: tests/functional/quota/test_quota_limit_dir_breadth.pyVinayak Papnoi2018-11-301-55/+43
| | | | | | | | | | Replaced "quota_fetch_list" with "quota_validate" Fixed hard_limit validation as it was failing in the automation runs. Change-Id: I603a2649ab43c3317626b4325c0b353a798eee94 Signed-off-by: Vinayak Papnoi <vpapnoi@redhat.com>
* Fixing TC test_client_side_quorum_with_auto_option_cross2Vijay Avuthu2018-11-272-780/+794
| | | | | | | | | Issue: Creating hardlinks fails since TC trying to create same hardlink twicw from 2 different clients. Change-Id: I1c0d48f53eec00ed2a766b786c551d83ac278946
* Moved test_self_heal_symbolic_links from afr to arbiter folderVitalii Koriakov2018-11-232-245/+342
| | | | | Change-Id: I6a95e82977f4ac6092716c064597931768023710 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Fix the test caseVijay Avuthu2018-11-221-0/+382
| | | | | | test_client_side_quorum_auto_local_to_volume_not_cluster Change-Id: Ibf16517fe062f9335d17c0e6d88ddab44a644c7b
* fixVijay Avuthu2018-11-221-361/+3
| | | | | | test_client_side_quorum_auto_local_to_volume_not_cluster Change-Id: I8abef160fb6aecb0f74edec0324a53bb23bb2885
* TC: test_negative_exercise_add_brickPrasad Desala2018-11-211-3/+3
| | | | | | | Fixed the validation code in test_add_brick_without_volname Change-Id: I5449b6472cc2b6644b833be47233d344a9dd8d1b Signed-off-by: Prasad Desala <tdesala@redhat.com>
* Deleting test_metadata_self_heal from test_self_heal fileVitalii Koriakov2018-11-151-353/+0
| | | | | Change-Id: I4560b425aa470da27631eb6401e3775fb90c2330 Signed-off-by: Vitalii Koriakov <vkoriako@nredhat.com>
* Moved test_metadata_self_heal from afr to arbiter folderVitalii Koriakov2018-11-151-0/+404
| | | | | Change-Id: Icd8586f5df4c34a5f0edd4b5a69f864bd2984ade Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Moved test_self_heal_algorithm_full_daemon_off from afr to arbiter folderVitalii Koriakov2018-11-082-111/+217
| | | | | Change-Id: I0143a4ffa16fa0c3ea240f5debbdc5519a9e5445 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Using a raw strings for fixing flake warningsVitalii Koriakov2018-10-291-2/+2
| | | | | Change-Id: Ie134790ea05919a4b396657c11cbc3fc7a7fc529 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Moved test_data_self_heal_algorithm_diff_default from afr to arbiter folderVitalii Koriakov2018-10-232-148/+244
| | | | | Change-Id: I6462446cce6c06a7559028eee1a6968af093c959 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Moved test_data_self_heal_algorithm_diff_heal_command from afr to arbiter folderVitalii Koriakov2018-10-232-204/+285
| | | | | Change-Id: Id32859df069106d6c9913147ecfa8d378dfa8e9d Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Fixing the issue bringing bricks online.Vijay Avuthu2018-10-231-26/+22
| | | | | | | bring_bricks_online method takes list as parameter, but in the test cases, it passed as str. Change-Id: I07caef7ef6510268856d832221d8b2993d3e9751
* Moved test_entry_self_heal_heal_command from afr to arbiter folderVitalii Koriakov2018-10-222-246/+335
| | | | | Change-Id: Id9face2267b9f702bb2b0b5b3c294b3e4082cdf7 Signed-off-by: Vitalii Koriakov <vkoriako@redhat.com>
* Fix for test_add_identical_brick_new_node.pySri2018-09-211-1/+4
| | | | | Change-Id: Ic60e9da0a97818cba59b5be5048492e54fc0edb3 Signed-off-by: Sri <sselvan@redhat.com>