Commit Graph

121 Commits

Author SHA1 Message Date
Natalia Litvinova 0e932ed61e Porting Cinder Backup tests to Zaza
Porting the Amulet tests from Cinder Backup to the Zaza framework.

The Amulet tests can be found here:
https://opendev.org/openstack/charm-cinder-backup/src/commit/4273738b94b22cca187487af2bad982be49fdd69/tests/basic_deployment.py
2019-10-09 13:02:19 +03:00
Frode Nordahl 1512bcdd1a Merge pull request #52 from openstack-charmers/feature/ceph-auto-pg
Add ceph pg tuning test
2019-10-09 08:38:56 +02:00
Alex Kavanagh b33afe9cb3 Add note re: GlanceTest function 2019-10-07 23:06:22 +01:00
Alex Kavanagh 81c4432136 Improve logging on the policyd tests
This has no 'testing' changes, just improves the logging output.
2019-10-07 22:06:21 +01:00
Alex Kavanagh 001635e23b Fix skiptest on policyd
The wrong approach was used.  It was supposed to be a raise rather than
just a cls call.  This PR fixes-up the SkipTest in policyd.
2019-10-07 10:10:27 +01:00
Liam Young 0a33d4f8c2 Merge pull request #80 from ed1000/add-ceilometer
Disabling ceilometer-polling service in pause_resume
2019-10-04 12:02:25 +01:00
Eduardo Sousa bb162918db Disabling pause_resume
This test is being disabled because of bug #1846390.
https://bugs.launchpad.net/charms/+source/ceilometer/+bug/1846390
2019-10-04 00:19:49 +01:00
Alex Kavanagh 909a8d8969 Add remaining policyd tests for 19.10 release
This adds the modified neutron-api, glance, cinder policyd
tests.  In particular, the test verifies that an operation can be
overriden and removed and that the api calls works, doesn't work, and
then works again.
2019-10-03 17:22:29 +01:00
Alex Kavanagh 6b75086957 Add neutron-api charm policyd test 2019-10-03 17:22:29 +01:00
Alex Kavanagh fe70f56b26 Add base specializer for Keystone test 2019-10-03 17:22:29 +01:00
James Page c76b62a8a8 Merge pull request #57 from rodrigogansobarbieri/bug/1836408
Add ceph-proxy cinder-ceph setup test
2019-10-03 14:40:58 +01:00
Rodrigo Barbieri 7b0de8d34d Add ceph-proxy cinder-ceph setup test
This change adds a functional test that verifies
ceph-proxy has successfully created a cinder-ceph
restricted ceph pool.

Related-Bug: lp#1836408
2019-10-02 10:48:54 -03:00
Liam Young 83ea8d94a1 Merge pull request #66 from ed1000/add-ceilometer
Change pause and resume from ceilometer to services
2019-10-02 13:17:47 +01:00
Eduardo Sousa b8cbae441a Change pause and resume from ceilometer to services 2019-10-01 15:55:30 +01:00
Liam Young ea84bf9ed8 Check aodh api after a change.
The first query against the aodh api after a restart seems to
fail. So, check the api after a restart with a tenacity wrapper.
2019-09-30 12:31:50 +00:00
Liam Young f64d8fe70e Stop basic_setup from raising an exception
The ceilometer setup script is a setup script not a test so it
should not raise a skip exception if it is not needed. The fact
that it does is my fault and was implemented on my recommendation.
2019-09-28 06:48:25 +00:00
Frode Nordahl 959d81370a Merge pull request #64 from gnuoy/aodh
Add support for aodh tests
2019-09-26 17:20:17 +02:00
Liam Young 3752f2cc12 Remove duplicate code for running ceilometer upgrade and fix typo 2019-09-26 10:23:56 +00:00
Liam Young 3ded7dab36 Fix copy/pasta error 2019-09-26 09:27:11 +00:00
Liam Young 2a15116868 Add aodh api test 2019-09-25 17:44:14 +00:00
Alex Kavanagh 3e2d98b1ed Fix pep8 failures 2019-09-25 14:43:10 +01:00
Alex Kavanagh 13128db1f4 Add docs to policyd module 2019-09-25 14:43:10 +01:00
Alex Kavanagh 6648aaf0e9 Add negative test for broken yaml 2019-09-25 14:43:10 +01:00
Alex Kavanagh ec74e6a57c Switch the order of the tests 2019-09-25 14:43:10 +01:00
Alex Kavanagh 060d86fe27 Hopefully finalising the services test 2019-09-25 14:43:10 +01:00
Alex Kavanagh 086076c6fc Still trying to find a call that works with the user 2019-09-25 14:43:10 +01:00
Alex Kavanagh 9d4008c9f4 More robust test 2019-09-25 14:43:10 +01:00
Alex Kavanagh d4568caf93 Fix missing prefixes from other module 2019-09-25 14:43:10 +01:00
Alex Kavanagh bdd225a1ee Switch keystone user to demo and try to list projects instead 2019-09-25 14:43:10 +01:00
Alex Kavanagh 6a0867e223 Fixed keystone spedific test 2019-09-25 14:43:10 +01:00
Alex Kavanagh 8a42af4e41 Fix keystone specific test - more 2019-09-25 14:43:10 +01:00
Alex Kavanagh 61f7cce1d0 Fix keystone specific test 2019-09-25 14:43:10 +01:00
Alex Kavanagh b1e6beb919 Further work to get keystone specific test to work 2019-09-25 14:43:10 +01:00
Alex Kavanagh ae6b1d7849 Try to fix mixin class set up bug 2019-09-25 14:43:10 +01:00
Alex Kavanagh 1337531926 Create specific policyd override for keystone 2019-09-25 14:43:10 +01:00
Alex Kavanagh c744b1a288 Create generic / keystone test idea 2019-09-25 14:43:10 +01:00
Alex Kavanagh 024a4b0ff7 move async code to zaza 2019-09-25 14:43:10 +01:00
Alex Kavanagh 55ae4aad28 Add in check to test for removal of file 2019-09-25 14:43:10 +01:00
Alex Kavanagh 3465dacb96 change approach to waiting on results bug fix 2019-09-25 14:43:10 +01:00
Alex Kavanagh 36f775390c change approach to waiting on results 2019-09-25 14:43:10 +01:00
Alex Kavanagh 89a6d9ca39 More test debugging again 2019-09-25 14:43:10 +01:00
Alex Kavanagh 1110ced7c1 More test debugging 2019-09-25 14:43:10 +01:00
Alex Kavanagh 67f1650917 Add further disable tests1 2019-09-25 14:43:10 +01:00
Alex Kavanagh aae3366fc9 Add further disable tests 2019-09-25 14:43:10 +01:00
Alex Kavanagh 2beddeafef more iteration to discover workload stats 2019-09-25 14:43:10 +01:00
Alex Kavanagh ce8c72e1a1 tests to determine app status 2019-09-25 14:43:10 +01:00
Alex Kavanagh 5ba0cf211c Yet more fixes to the test1 2019-09-25 14:43:10 +01:00
Alex Kavanagh f5f3c9a966 Yet more fixes to the test 2019-09-25 14:43:10 +01:00
Alex Kavanagh 6306615a17 More debugging in the test 2019-09-25 14:43:10 +01:00
Alex Kavanagh 214660f43d Added additional logging 2019-09-25 14:43:10 +01:00