You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Robustify pool setup and teardown in storage tests, first step
* New Pool.exec_on_hosts_on_error_rollback method: attempts
to run a function for every host, stops at the first error,
tries to run a rollback function to undo what may have been
partially done, then raises with the collected exception(s).
Mainly meant to be used in fixtures setups that alter all hosts in a
pool.
* New Pool.exec_on_hosts_on_error_continue method: attempts to run a
function for every host. Collects errors but continues with the next
hosts anyway. Raises at the end with the collected exception(s).
* New host_with_saved_yum_state fixture to handle state saving and
rollback in a shared package-scope fixture.
* New pool_with_saved_yum_state, to handle the same on multiple hosts.
* Updated MooseFS fixtures using the above methods and fixtures.
Signed-off-by: Samuel Verschelde <[email protected]>
0 commit comments