Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions providers/base/bin/watchdog_config_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,15 @@ def main():
if (ubuntu_version >= 20) or (on_ubuntucore()):
if not systemd_wdt_configured:
print(
"systemd watchdog should be enabled but reset timeout: "
"systemd watchdog should be enabled but reset timeout "
"(RuntimeWatchdogUSec) is set to: "
"{}".format(runtime_watchdog_usec)
)
print(
"In order for the watchdog service to work, the "
"RuntimeWatchdogUSec configuration option must be set before "
"running this test."
)
watchdog_config_ready = False
if wdt_service_configured:
print("found unexpected active watchdog.service unit")
Expand All @@ -80,9 +86,15 @@ def main():
else:
if systemd_wdt_configured:
print(
"systemd watchdog should not be enabled but reset timeout: "
"systemd watchdog should not be enabled but reset timeout "
"(RuntimeWatchdogUSec) is set to: "
"{}".format(runtime_watchdog_usec)
)
print(
"In order for the watchdog service to work, the "
"RuntimeWatchdogUSec configuration option must be set before "
"running this test."
)
watchdog_config_ready = False
if not wdt_service_configured:
print("watchdog.service unit does not report as active")
Expand Down
Loading