summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix concurrency issue in heketi pod failure test casesValerii Ponomarov2018-07-162-0/+12
| | | | | | | | | | In those tests, we scale down amount of heketi pods to 0 and then scale it up back to amount of 1. And right after it, we perform request for list of Heketi PODs, not waiting for Heketi POD appearing in list. So, fix it by adding waiting for 2 sec which is enough time for Heketi POD to appear in the POD list. Change-Id: I5361d5c6eb98ac46b5f49a70edd0a88d550ab0b8
* CNS: fixing user/admin key for concurrent_volume testcaseApeksha D Khakharia2018-07-031-2/+3
| | | | | Change-Id: I78cb7989876e2f17cf1d9653723a160074050413 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* Merge "Add test cases for device removal"Krishnaram Karthick Ramdoss2018-05-171-15/+268
|\
| * Add test cases for device removalmandaltapesh2018-05-161-15/+268
| | | | | | | | | | | | Change-Id: Iedd408844beadd1a449fdb953640289044c1bfa7 Signed-off-by: Saravanakumar Arumugam <sarumuga@redhat.com> Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | Merge "CNS: fixing heketi testcases that are failing"Krishnaram Karthick Ramdoss2018-05-172-15/+4
|\ \
| * | CNS: fixing heketi testcases that are failingApeksha D Khakharia2018-05-142-15/+4
| |/ | | | | | | | | | | | | | | | | Also removing the skip decorator, the testcase logic have no issues and it passes when executed individually Change-Id: Iede3f6b67ddd79d0efc673b2b3440fba392540d4 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | Fix broken dynamic_provisioning testsValerii Ponomarov2018-05-103-41/+79
| | | | | | | | | | | | | | | | Fix 2 autotests, remove skip decorator for them. And rework logic of mongodb template uploading for mongodb pod, so it takes couple of seconds instead of minutes. Change-Id: Ib2b09364ae435b9784b76c2f2581c197128f9649
* | CNS: adding testcase and library for volnameprefixApeksha D Khakharia2018-05-082-12/+31
|/ | | | | Change-Id: I84968bcfe19aa8af73f185be178079a8373915b3 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* Merge "CNS: changing the validation with return code"Krishnaram Karthick Ramdoss2018-05-022-7/+9
|\
| * CNS: changing the validation with return codeApeksha D Khakharia2018-03-162-7/+9
| | | | | | | | | | Change-Id: I53abee4431082100afc33a52c16442469774d1cc Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | Fix picking up of the heketi serviceValerii Ponomarov2018-04-053-8/+17
| | | | | | | | | | | | | | | | | | | | Doing 2 following things: - Add 'heketi_service_name' config option to define the name of Heketi service in OCP. Without it we use hardcoded name 'heketi' which can be different on different setups. - Add switching to the CNS project for CNS tests. Change-Id: Iad308db7a1d63fc64ddd3f5b99823917b99c0706
* | CNS: using oc command to get heketi-ipApeksha D Khakharia2018-03-062-24/+16
| | | | | | | | | | Change-Id: Id3b4af5c9fdf69ca717e3c7aa86dd4c377bec510 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | Merge "CNS : fixing name errors"Krishnaram Karthick Ramdoss2018-03-051-1/+1
|\ \
| * | CNS : fixing name errorsApeksha D Khakharia2018-03-051-1/+1
| |/ | | | | | | | | Change-Id: I356b35bcdce31f82734eb6d32824944cdb55aac6 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* / CNS: adding same secret name while creating scApeksha D Khakharia2018-03-052-12/+12
|/ | | | | Change-Id: Ice9eb4ea0cb8e86914ca54b65b23fc494754b0fc Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* CNS: skipping 3 heketi testcases for nowApeksha D Khakharia2018-02-262-0/+13
| | | | | Change-Id: I685d3fe5eeb4ff776d3fe6907cfab798dc793b0b Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* CNS: heketi_url changeApeksha D Khakharia2018-02-213-84/+196
| | | | | Change-Id: I927166d4649a5318cea221219d471534bd258545 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* Merge "add a test for multiple parallel operations"Krishnaram Karthick Ramdoss2018-02-211-1/+93
|\
| * add a test for multiple parallel operationsJohn Mulligan2018-01-221-1/+93
| | | | | | | | | | | | | | | | Test creating volume when "other processes" are creating and deleting other volumes in the background. Change-Id: Ic46fd819d98cf6f9b771a2272fd81aeb9814004a Signed-off-by: John Mulligan <jmulligan@redhat.com>
* | Add support of heketi_cli_user and heketi_cli_keyValerii Ponomarov2018-02-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Just define following config options: cns: heketi_config: heketi_cli_user: 'admin' heketi_cli_key: 'some_secret_admin_key' To make heketi tests use specific creds for auth. Change-Id: I60f6d6e3922de6602d8fd39656132a23f18ffc8c
* | Merge "heketi automation cases"Krishnaram Karthick Ramdoss2018-02-025-0/+749
|\ \
| * | heketi automation casesAkarsha Rai2018-01-315-0/+749
| |/ | | | | | | | | Change-Id: Id5e3765940ba88ef6d41b52c3306ba45fe62a0f1 Signed-off-by: Akarsha Rai <akrai@redhat.com>
* | Merge "Initial commit for heketi test cases"Krishnaram Karthick Ramdoss2018-02-022-0/+255
|\ \
| * | Initial commit for heketi test casesmandaltapesh2018-02-012-0/+255
| | | | | | | | | | | | | | | | | | | | | | | | | | | The initial batch of testcases pushed includes testcases related to volume creation and deletion. Change-Id: I754155c85fb764f0e0600b0c0b88d55fa999361b Signed-off-by: mandaltapesh <tmandal@redhat.com>
* | | Heketi test cases regarding volume expansion and devicesmandaltapesh2018-02-011-0/+726
| | | | | | | | | | | | | | | Change-Id: I449e02d126cfa1472bdc16c008f98520f0a12f00 Signed-off-by: mandaltapesh <tmandal@redhat.com>
* | | Merge "CNS: adding P0 dynamic provisioning testcases"Krishnaram Karthick Ramdoss2018-01-312-0/+646
|\ \ \
| * | | CNS: adding P0 dynamic provisioning testcasesApeksha D Khakharia2018-01-302-0/+646
| | |/ | |/| | | | | | | | | | Change-Id: I85c00192285cbf773aea2c92e3aa8c6fe1b7c863 Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* / | CNS: adding libraries for dynamic provisioningApeksha D Khakharia2018-01-303-0/+86
|/ / | | | | | | | | Change-Id: I0023dae5b4628b30b5434b0e10dc519a227fd3aa Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* | add a test to run a bunch of PVC creates in parallelJohn Mulligan2018-01-221-0/+49
| | | | | | | | | | | | | | | | This is a quasi-stress-test that check that the system can process multiple PVC being requested at the same(ish) time. Change-Id: I72cdc0876c51058ebab62a0764d0d049a65c649d Signed-off-by: John Mulligan <jmulligan@redhat.com>
* | add a 2nd multi volume test caseJohn Mulligan2018-01-221-0/+75
| | | | | | | | | | | | | | | | | | Add a 2nd multi volume create test case as well as setup and cleanup functions to try to prevent the async cleanups from one test causing the other test to fail. Change-Id: I721a3393a20b4f03f896aee20d64753ac93b3152 Signed-off-by: John Mulligan <jmulligan@redhat.com>
* | add a test to verify multiple PVC requests create multiple volumesJohn Mulligan2018-01-191-0/+247
|/ | | | | | | | This is sort of a trial of the both the test framework, my ability to add tests to it, and the workflow of adding changes to the repo. Change-Id: I17b61f298c04f45df8b77555b16d292fd2b2a3a8 Signed-off-by: John Mulligan <jmulligan@redhat.com>
* CNS: adding more parameters for dynamic provisioningApeksha D Khakharia2018-01-051-2/+28
| | | | | Change-Id: I7b3528ef52780b115840b5ebd7882f1d4d441ccf Signed-off-by: Apeksha D Khakharia <akhakhar@redhat.com>
* Merge "Sample config file for cns automation tests"Arthy Loganathan2017-12-121-0/+99
|\
| * Sample config file for cns automation testsArthy Loganathan2017-12-111-0/+99
| | | | | | | | | | Change-Id: I970e5563b9342a783c0c708c710d2a9816b89c96 Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
* | Heketi library functions for topology, volume operation,Arthy Loganathan2017-12-081-0/+102
|/ | | | | | | HeketiBaseClass and initial set of heketi volume testcases Change-Id: Ib700cc9ffc4bf510affdbb45710c5b27c6c7ce44 Signed-off-by: Arthy Loganathan <aloganat@redhat.com>
* Directory structure for cns-qe/cns_automation repoArthy Loganathan2017-11-2316-0/+0
Change-Id: I8be99fbfa6428b69c31ec2411ff021a2bee6ac45 Signed-off-by: Arthy Loganathan <aloganat@redhat.com>