]> git.proxmox.com Git - pve-ha-manager.git/commit
tests: cover request-state changes and crm-cmds for in-recovery services
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 2 Jul 2021 17:31:42 +0000 (19:31 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 2 Jul 2021 18:08:12 +0000 (20:08 +0200)
commit6104d9e76ef7666f4629c4bd7be05e75a1628461
treeb80b97d226a95ed6894f8e9f63436c76ccae96fa
parentfeea3913671408ccf32211fd91b07a4301e7d3e2
tests: cover request-state changes and crm-cmds for in-recovery services

Add a test which covers that the recovery state does not allows
things like stop or migrate to happen.

Also add one for disabling at the end, this is currently blocked too
but will change in the next patch, as it can be a safe way out for
the admin to reset the service without removing it.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/test/test-recovery4/README [new file with mode: 0644]
src/test/test-recovery4/cmdlist [new file with mode: 0644]
src/test/test-recovery4/groups [new file with mode: 0644]
src/test/test-recovery4/hardware_status [new file with mode: 0644]
src/test/test-recovery4/log.expect [new file with mode: 0644]
src/test/test-recovery4/manager_status [new file with mode: 0644]
src/test/test-recovery4/service_config [new file with mode: 0644]