From 5e7e735f51acec0c41a05804dbbc768e610717ca Mon Sep 17 00:00:00 2001 From: Sofia Kopikova Date: Mon, 18 Nov 2024 18:01:02 +0300 Subject: [PATCH] Fix broken pipe from gdb after killing process --- testgres/plugins/pg_probackup2/pg_probackup2/gdb.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testgres/plugins/pg_probackup2/pg_probackup2/gdb.py b/testgres/plugins/pg_probackup2/pg_probackup2/gdb.py index 0b61da65..64bec77c 100644 --- a/testgres/plugins/pg_probackup2/pg_probackup2/gdb.py +++ b/testgres/plugins/pg_probackup2/pg_probackup2/gdb.py @@ -108,6 +108,9 @@ def kill(self): self.proc.stdin.close() self.proc.stdout.close() + def terminate_subprocess(self): + self._execute('kill') + def set_breakpoint(self, location): result = self._execute('break ' + location) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy