Commit Graph

16 Commits

Author SHA1 Message Date
David Ames af64a75fd7 Use model.run_action_on_leader
Address reveiw requests
Use model.run_action_on_leader
Log action.data on action failure
2019-11-19 11:51:04 -08:00
David Ames 9c75b89273 Reboot cluster from complete outage tests
Testing for cold start scenario for MySQL InnoDB Cluster.
2019-11-18 16:46:08 -08:00
David Ames 9cd26e9e4c Add mysqldump action test 2019-11-12 14:17:08 -08:00
David Ames 55c2e60b8e Fix generator sort failure 2019-11-07 15:55:35 -08:00
Alex Kavanagh ca98d2af7f Merge pull request #107 from thedac/mysql8-actions
MySQL 8 specific tests
2019-11-07 16:00:29 +00:00
David Ames 22614a3099 Get leaders and non-leaders 2019-11-06 15:35:56 -08:00
David Ames 25b3932ce9 MySQL 8 zaza tests
* Re-arrange the MySQL, Percona-cluster classes to avoid code
  duplication
* cluster-status action
2019-11-06 15:28:20 -08:00
Frode Nordahl 8d676bf9fa Make non-existent tests/tests.yaml non-fatal where possible
Not all test environments or runners are equal, don't crash on
non-existent test config.
2019-11-05 16:38:06 +01:00
Ryan Beisner 9333b47a86 Flag existing time.sleep usage for refactor
https://github.com/openstack-charmers/zaza-openstack-tests/issues/46
2019-08-30 15:41:28 -05:00
Camille Rodriguez 9061ad9847 Verify instances status before going starting the instances 2019-08-30 15:26:54 -04:00
Camille Rodriguez 94e1d8f7ed Verify instances status before going starting the instances 2019-08-30 15:01:36 -04:00
Liam Young 0f9fc9c49b Only auto-resolve update-status hooks
If a unit is rebooted while executing a hook Juju will mark it as
errored when it comes back. To work around this in tests, units in
an error state are resolved on reboot. However, this could mask a
genuine error. So, to minimise the risk only resolve units that
went into an error state when running update-status as the system
was in a stable state prior to reboot so that should have been the
only hook running.

Charm going into an error state on reboot applies equally to
subordinates so use the same logic for hacluster.

block_until_all_units_idle can return when a subordinate hook is
still queued so check for update-status errors when manually
queuing update-status run via action.
2019-07-30 14:23:31 +00:00
Liam Young 7c0ee7389f Resolve hook errors after pxc reboot 2019-07-25 13:58:29 +00:00
David Ames 81604c399b Review requests for Liam 2019-07-17 11:07:52 -07:00
David Ames 05517b566e Review requests for Alex 2019-07-17 08:50:07 -07:00
David Ames 138bd11207 Zaza tests for percona-cluster
Port over amulet tests to zaza for percona-cluster.
Add testing of new feature actions for cold start tests: bootstrap-pxc
and notify-bootstrapped.
2019-07-15 07:51:54 -07:00