[pve-devel] [PATCH ha-manager 3/3] add VirtFail resource and use it in new regression tests
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Feb 10 14:23:58 CET 2016
On 02/10/2016 02:13 PM, Thomas Lamprecht wrote:
> This resource let us test a defined failiure behaviour ofi services.
>
> Through the VMID we define how it should behave, with the folowing
> rules:
>
> When the service has the SID "fa:abcde" the digits a - e mean:
>
> a - no meaning but can be used for differentiating similar resources
> b - how many tries are needed to start correctly (0=default)
> c - how many tries are needed to migrate correctly (0=default)
> d - should shutdown be successful (0 = yes, anything else no)
> e - return value of $plugin->exists() defaults to 1 if not set
>
> a,b,c should always be set even if b and c have defaults (makes test
> purpose clearer)
> d and e
>
> Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
> ---
>
> Checkout the READMEs of the test fopr a short description of what
> they cover.
Ugh, forgot to turn on spell checking here:
s/failiure/failure/
s/ofi/of/
and some cut of words at the end:
s/d and e/d and e are fully optional/
Sorry about that.
cheers,
Thomas
More information about the pve-devel
mailing list