Commit Graph

23 Commits

Author SHA1 Message Date
Frode Nordahl
cb68bdb490 Add missing docstring, use new raise_on_failure param
The Zaza run_action functions ought to have a raise exception
option, openstack-charmers/zaza#251
2019-06-20 07:59:17 +02:00
Frode Nordahl
9104c82b91 octavia/diskimage-retrofit: Add charm setup and tests
Setup can be used standalone by other charms consuming the
``octavia-diskimage-retrofit`` charm for their testing purposes.

Tests the charms actions.

Full end to end test will be done by consuming this charm in the
``octavia`` charm tests.
2019-06-19 15:28:32 +02:00
Liam Young
11b55d5b4c Support initializing vault with no clients
Currently when vault auto_inititialize [sic] is called a validation
step is run at the end to check that clients connected to vault
have the correct setup. However in sometimes there are no clients
to run validation with (as with cross model relation testing). To
facilitate this expose a new method 'auto_initialize_no_validation'
which skip the client validation.

Also correct the spelling of auto_inititialize but add a partial
to support tests that are already using the old spelling.
2019-06-11 15:27:03 +00:00
Chris MacNaughton
045c50637b Add a new SSH function
It is likely that there are other commands that we
would like to run in our tests, so this is a new SSH
command runner that the existing SSH check has been
updated to use.
2019-06-06 13:46:06 +02:00
Liam Young
eec43340eb Extend Nova compute tests. (#14)
Extend the nova compute tests to cover some that were missed from
the amulet tests.
2019-06-05 10:32:02 +02:00
coreycb
1bbe859a60 Merge pull request #5 from cloud-padawan/ceph-proxy-tests
added ceph-proxy tests
2019-05-30 12:19:59 -04:00
Ramon Grullon
0c32e1b0d9 added ceph-proxy tests 2019-05-30 14:44:16 +00:00
Liam Young
ce9db8434b Extend cinder testing (#13)
* Extend cinder testing

* Run sec checklist on all units of application
2019-05-23 14:48:39 +02:00
Liam Young
748d1ba6e1 Remove erroneous print message (#12) 2019-05-23 12:01:41 +02:00
Liam Young
648ac9262b Expose resource_removeds retry options (#11)
resource_removed is used in many places to monitor removal of
different kinds of OpenStack resource. It is reasonable to expect a
flavor to be removed in a few seconds where as an image based instance
may take minutes to be removed. With that in mind this change
exposes the retry options used by tenacity allowing the caller to
set reasonable expectations for the resource removal.
2019-05-23 11:16:03 +02:00
David Ames
dc3ca2edef Bug fix for HA SAML tests 2019-05-21 20:36:27 +00:00
coreycb
d91d4c5549 Merge pull request #7 from thedac/saml
Fixes for SAML testing
2019-05-20 11:23:25 -04:00
David Ames
9c64258650 Merge pull request #9 from gnuoy/feature/cinder
Add cinder tests
2019-05-20 07:53:34 -07:00
Liam Young
1646073f02 Add cinder tests 2019-05-20 11:46:56 +00:00
Chris MacNaughton
cf3d00edd5 Remove test that is being migrated upstream to zaza
https://github.com/openstack-charmers/zaza/pull/238
2019-05-20 08:30:51 +02:00
David Ames
40e3148133 Fixes for SAML testing
Move SAML testing to zaza.openstack tests
Bug fixes
2019-05-17 22:13:47 +00:00
Liam Young
9721fe5d42 Fix restart_on_changed helper (#6)
The restart_on_changed helper was moved to use the config_change
context manager but the code that checks that the config file is
correctly reverted at the end of the test was accidently left within
the context.
2019-05-17 15:08:58 +02:00
Liam Young
6dad655b5d Avoid adding duplicate handler (#4)
If a logging handler has already been added don't add it again.
2019-05-14 15:31:55 +02:00
Liam Young
5c68401d96 Add swift tests (#2) 2019-05-13 13:36:48 +02:00
Liam Young
6b2c1d26eb Add function for getting keystone auth from relation 2019-05-13 09:06:40 +00:00
Chris MacNaughton
0c2f36fb4e modify base zaza poackage into zaza.openstack package 2019-05-08 13:38:33 +02:00
Liam Young
278107e391 Merge pull request #229 from ChrisMacNaughton/bug/1826542
ensure we have a secret KV backend
2019-04-30 11:28:26 +02:00
Chris MacNaughton
dd434e281e Add zaza namespacing, starting with openstack 2019-04-25 17:46:03 +02:00