execute_defs

Function execute_defs 

Source
pub fn execute_defs(ctx: &Ctx<'_>, defs: Vec<CgroupDef>) -> Result<AssertResult>
Expand description

Execute a single step with CgroupDefs that hold for the full duration.

Convenience wrapper around execute_steps for the common pattern of creating cgroups and running them for HoldSpec::FULL.