mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
daemon-self-test: fix daemon output
Fix the `fail` function, to properly capture the output of the daemon process in case of failure.
This commit is contained in:
committed by
Alessandro Di Federico
parent
36abe5a34c
commit
9999bbfac6
@@ -90,8 +90,7 @@ class DaemonSelfTestCommand(Command):
|
||||
async def get_connection(self) -> Tuple[aiohttp.BaseConnector, str]:
|
||||
if self.url.startswith("unix:"):
|
||||
return (aiohttp.UnixConnector(self.url.replace("unix:", "", 1)), "dummy")
|
||||
else:
|
||||
return (aiohttp.TCPConnector(), self.url)
|
||||
return (aiohttp.TCPConnector(), self.url)
|
||||
|
||||
async def run_self_test(self, executable_path: str):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user