Commit Graph

17 Commits

Author SHA1 Message Date
FrancescoDeSimone 5aa0f13eaa Remove check_haproxy if hacluster is present in the bundle (#819)
Co-authored-by: fdesi <francesco.desimone@canonical.com>
2022-07-08 12:19:51 +01:00
Gustavo Sanchez bee69edb76 Reduce wait time and corrections 2021-09-06 09:14:37 -04:00
Gustavo Sanchez e6f9a3fce0 Removes method invoked only once 2021-09-03 12:31:11 -04:00
Gustavo Sanchez 8e537dc733 Adds tests for NRPE checks in Manila
Adds a test to ensure that Manila units related to NRPE get service check files created.

Closes-Bug: #1925977
2021-08-17 20:17:54 -04:00
Chris MacNaughton 698d8f04e3 Add support for restarting and then retesting manila share services
In this change, a charm test that subclasses the ManilaBaseTest
class can also opt-in to re-validating a share after restarting
the share services by overriding the _restart_share_instance
method.
2021-07-02 12:39:19 +02:00
Ionut Balutoiu 74c5c9d69c Fix _write_testing_file_on_instance docstring 2021-03-12 14:53:21 +02:00
Ionut Balutoiu 9901248f79 Refactor Manila Ganesha test
The current Manila Ganesha `test_manila_share` had a lot of
functionality that can be re-used to any configured Manila backend.

It's a good idea to have this functionality generalized into
`zaza.manila.tests.ManilaBaseTest`, which can be reused for any
tested Manila backend.
2021-03-04 14:21:56 +02:00
Liam Young cdba5b64ca Run update-status before manila api test
The manila charm contains a 'band-aid' for Bug #1706699 which relies
on update-status to bring up services if needed. When the tests run
an update-status hook might not have run so services may still be
stopped so force a hook execution.
2021-01-12 13:13:36 +00:00
Chris MacNaughton bf3c3628a1 Revert "Remove client version from Manila Test" 2020-03-27 13:45:48 +01:00
Chris MacNaughton c7360ea4b1 Remove client version from Manila Test 2020-03-20 14:40:12 +01:00
Chris MacNaughton 1b3b33d83a Ensure that the Manila tests exit 2020-02-27 15:31:29 +01:00
Chris MacNaughton 2136213c83 Manila tests do not need Nova client 2020-02-19 10:29:00 +01:00
Chris MacNaughton c48801d202 Allow us to retry the Manila client connection
It is possible that Manila looks ready before it is,
so we should retry a bit to ensure that the APi service
is really down before giving up
2020-01-13 15:26:04 +01:00
Chris MacNaughton bb675982b6 Fix mis-named variable 2019-12-04 11:32:17 +01: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
Chris MacNaughton f0be9b5136 Add manila API test 2019-11-15 15:59:39 +01:00