Base class for HA Cluster tests.
pre_run_hook()
This is one of the test module interfaces 'pre_run_hook()'
. It sets '$prev_console'
before running test steps.
post_run_hook()
This is one of the test module interfaces 'post_run_hook()'
. It restores/unlocks '$prev_console'
, clear the console and ensure that it really got cleareafter.
post_fail_hook()
This is one of the test module interfaces 'post_fail_hook()'
. It saves a screenshot and logs.
test_flags()
This is one of the test module interfaces 'test_flags()'
.
Specify what should happen when test execution of the current test module is finished depending on the result.
Set 'milestone=1'
: after this test succeeds, update the 'lastgood' snapshot of the SUT
Set 'fatal=1'
: when set to 1 the whole test suite is aborted if the test module fails. The overall state is set to failed.