Skip to content

Commit

Permalink
debug: log response from systemctl command
Browse files Browse the repository at this point in the history
  • Loading branch information
rcooke-warwick committed Nov 25, 2024
1 parent f3c573b commit d7fced1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/suites/hup/tests/rollbacks.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,20 +261,20 @@ module.exports = {
await this.utils.waitUntil(async () => {
console.log(`Waiting for rollback-altboot service to be inactive...`)
let state = await this.worker.executeCommandInHostOS(
`systemctl is-active rollback-altboot`,
`systemctl is-active rollback-altboot || true`,
this.link
)

console.log(state)
return (state === "inactive");
})

await this.utils.waitUntil(async () => {
console.log(`Waiting for rollback-health service to be inactive...`)
let state = await this.worker.executeCommandInHostOS(
`systemctl is-active rollback-health`,
`systemctl is-active rollback-health || true`,
this.link
)

console.log(state)
return (state === "inactive");
})

Expand Down

0 comments on commit d7fced1

Please sign in to comment.