Commit Graph

918 Commits

Author SHA1 Message Date
Chris MacNaughton a668a76ca3 Merge pull request #146 from gnuoy/fix-swift-storage-region-option
Fix name of swift storage-region option
2019-12-17 13:31:11 +01:00
Liam Young 721f3bc905 Fix unit test 2019-12-17 12:21:39 +00:00
Liam Young 2c9e9739d6 Fix name of swift storage-region option 2019-12-17 11:57:23 +00:00
David Ames 67e76cde61 Merge pull request #142 from jguedez/neutron-gateway-zaza-tests
Neutron Gateway zaza tests
2019-12-12 15:27:06 -08:00
Liam Young 49a01c8318 Merge pull request #143 from thedac/use-netplan-for-ovn
Use Netplan for OVN
2019-12-11 19:33:03 +00:00
Alex Kavanagh 1503751d5c Merge pull request #141 from thedac/iteration-handling
py3.7+ StopIteration handling
2019-12-11 16:50:50 +00:00
Chris MacNaughton bafc833777 Merge pull request #144 from gnuoy/add-get-subordinate-units
Add get_subordinate_units
2019-12-11 13:33:20 +01:00
Liam Young f3ebe916f2 Add get_subordinate_units
Add zaza.openstack.utilities.juju.get_subordinate_units to get a list
of all subordinate units associated with units in unit_list.
Subordinate can be filtered by using 'charm_name' which will only
return subordinate units which have 'charm_name' in the name of the
charm.
2019-12-11 12:12:25 +00:00
Jose Guedez 55fc718f98 Move tests (400/401) from neutron-gateway to neutron-api 2019-12-11 15:05:12 +11:00
Jose Guedez f79f2fb54c NeutronGatewayTest: refactor test 401 to use tenacity 2019-12-11 14:05:37 +11:00
Jose Guedez 79bb61243f Use a single security test class for neutron-api and neutron-gateway 2019-12-11 12:52:13 +11:00
David Ames 407487ca66 Use Netplan for OVN 2019-12-10 16:47:46 -08:00
David Ames 23e0dd5325 Catching StopIteration is not necessary 2019-12-10 10:29:57 -08:00
David Ames 40e9c86df4 Test the condition not the implementation 2019-12-10 08:36:22 -08:00
Jose Guedez 99eed41697 Ported neutron-gateway tests to zaza (920) 2019-12-10 16:19:40 +11:00
Jose Guedez a3cf1bf7e7 Ported neutron-gateway tests to zaza (400/401) 2019-12-10 16:19:20 +11:00
David Ames c109abbe25 Fix unit test 2019-12-09 09:22:01 -08:00
Jose Guedez 2704fe654c Ported neutron-gateway tests to zaza (500) 2019-12-09 17:33:25 +11:00
David Ames 1a4e02e98c Fix bug 2019-12-06 15:02:57 -08:00
David Ames ad9eecc49e Pick just one machine 2019-12-06 14:35:37 -08:00
David Ames 1314c6af2f Don't use StopIteration 2019-12-06 13:42:09 -08:00
David Ames 4fd543a0fe Hanlde new StopIteration for iterators 2019-12-06 12:01:38 -08:00
Jose Guedez 7d23285ce0 Ported neutron-gateway tests to zaza (900/910) 2019-12-05 16:22:29 +11:00
Alex Kavanagh 5b99a8a1ae Merge pull request #137 from gnuoy/swift-gr
Add Swift Global Replication Tests
2019-12-04 12:05:36 +00:00
Alex Kavanagh 4255835c48 Merge pull request #140 from openstack-charmers/feature/manila-tests
Fix mis-named variable
2019-12-04 10:53:45 +00:00
Chris MacNaughton bb675982b6 Fix mis-named variable 2019-12-04 11:32:17 +01:00
Liam Young f1092b0811 Doc string fixes 2019-12-04 10:24:04 +00:00
Alex Kavanagh d4cc35bd94 Merge pull request #125 from openstack-charmers/feature/manila-tests
Add manila API test
2019-12-04 09:48:29 +00:00
Chris MacNaughton a6bde71683 remove unnecessary class variables 2019-12-04 10:19:53 +01:00
Chris MacNaughton 8b40d28ad1 address tinwood's comments 2019-12-03 17:18:22 +01:00
Alex Kavanagh ccddc59e3c Merge pull request #139 from openstack-charmers/issue/138
neutron: Retry operation after change of config
2019-11-29 16:19:18 +00:00
Frode Nordahl 2961196333 neutron: Retry operation after change of config
There is a race between `neutron-api` charm readiness and actual
API readiness.

Fixes #138
2019-11-29 16:39:50 +01:00
Liam Young d2904e228d Add Swift Global Replication Tests 2019-11-29 11:47:43 +00:00
Chris MacNaughton 5a65e05c37 Merge pull request #136 from gnuoy/make-OpenStackBaseTest-multimodel-friendly
Make OpenStackBaseTest model_alias aware
2019-11-29 12:30:34 +01:00
Liam Young e63fb86df2 Make OpenStackBaseTest model_alias aware 2019-11-29 11:04:53 +00:00
Andrew McLeod d004a4152d rename cinder backup swift to cinder backup swift proxy (#134) 2019-11-28 16:45:44 +01:00
Chris MacNaughton 3c1669aa7f Merge pull request #135 from gnuoy/fix-resource-cleanup
Guard against run_resource_cleanup being unset
2019-11-28 16:34:42 +01:00
Liam Young 5e9440dd97 Define run_resource_cleanup in OpenStackBaseTest so all sub-classes inherit it 2019-11-28 15:17:32 +00:00
Liam Young b6c649c00b Guard against run_resource_cleanup being unset
A test may not call the base class setup so may be missing
run_resource_cleanup in which case teardown will fail. Guard against
that and default to False.
2019-11-28 14:59:46 +00:00
Chris MacNaughton e51eb2c5c9 Merge pull request #133 from gnuoy/optional-resource-cleanup
Add support for tests defining resource_cleanup
2019-11-27 12:33:23 +01:00
Liam Young e839a19321 Flip default for cleanup to False 2019-11-27 10:29:06 +00:00
Liam Young 39cb8ea0cc Add support for tests defining resource_cleanup
Add support for tests having a resource_cleanup method. Whether this
is run or not is dictated by the class variable
'run_resource_cleanup'. By default this will be True but any test
can switch it to False so that resources created by the tests are
preserved. Helpful for debugging failures.

FWIW future work might include automatically disabling resource
cleanup if a test fail is detected.
2019-11-27 09:05:01 +00:00
Chris MacNaughton 0022d3bdaf Merge pull request #132 from openstack-charmers/issue/120
neutron: Do not run tear down on test failure
2019-11-27 09:14:16 +01:00
Frode Nordahl b871907e84 neutron: Do not run tear down on test failure
Fixes #120
2019-11-27 08:58:03 +01:00
Chris MacNaughton 2b0036b16b Merge pull request #131 from gnuoy/add-model-name-to-get_keystone_session_from_relation
Expose model_name option in get_keystone_session_from_relation
2019-11-26 08:59:27 +01:00
Liam Young bd903fa325 Add docstring entry 2019-11-25 17:41:29 +00:00
Liam Young 9c34bc42da Expose model_name option in get_keystone_session_from_relation 2019-11-25 17:40:03 +00:00
Frode Nordahl 3f7a9cff44 Merge pull request #128 from sahid/pause-resume
vault: add pause/resume test case
2019-11-25 17:38:18 +01:00
Frode Nordahl 22a844bf0c Merge pull request #130 from gnuoy/explicit-model-name-in-utils
First set of updates to set model name explicitly
2019-11-25 13:13:33 +01:00
Liam Young 748915646a First set of updates to set model name explicitly 2019-11-25 10:49:50 +00:00