summaryrefslogtreecommitdiff
path: root/tests/inst/src/destructive.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/inst/src/destructive.rs')
-rw-r--r--tests/inst/src/destructive.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/inst/src/destructive.rs b/tests/inst/src/destructive.rs
index d6977bff..42b42ebf 100644
--- a/tests/inst/src/destructive.rs
+++ b/tests/inst/src/destructive.rs
@@ -393,6 +393,8 @@ fn impl_transaction_test<M: AsRef<str>>(
// then we'll exit implicitly via the reboot, and reenter the function
// above.
loop {
+ // Make sure previously failed services (if any) can run.
+ bash!("systemctl reset-failed || true")?;
// Save the previous strategy as a string so we can use it in error
// messages below
let prev_strategy_str = format!("{:?}", live_strategy);