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:
Giacomo Vercesi
2022-10-12 15:56:45 +02:00
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: