forked from TrueCloudLab/frostfs-testlib
Print something to Docker logs when service is dead
No output in Docker logs makes all log readers stuck in a read() call. Printing garbage lines allows for non-asyncio timeouts to kick in. Signed-off-by: Vitaliy Potyarkin <v.potyarkin@yadro.com>
This commit is contained in:
parent
729d39863f
commit
d55026fe13
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class ContainerizedService:
|
|||
if self._testcontainer is None:
|
||||
self.create()
|
||||
self.stop()
|
||||
self._pid1(f"{{ {self.command} ; }} &")
|
||||
self._pid1(f"{{ {self.command}; while sleep 1; do echo Service died.; done; }} &")
|
||||
|
||||
def stop(self):
|
||||
self._pid1(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue