We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e0c108 commit 84234feCopy full SHA for 84234fe
testinfra/test_ami_nix.py
@@ -376,11 +376,11 @@ def is_healthy(ssh) -> bool:
376
if not result["succeeded"]:
377
info_text = ""
378
info_command = (
379
- f"sudo journalctl -b -u {service} -n 10 -r --no-pager"
+ f"sudo journalctl -b -u {service} -n 20 --no-pager"
380
)
381
info_result = run_ssh_command(ssh, info_command)
382
if info_result["succeeded"]:
383
- info_text = info_result["stdout"].strip()
+ info_text = "\n" + info_result["stdout"].strip()
384
385
logger.warning(f"{service} not ready{info_text}")
386
return False
0 commit comments