mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-15 12:14:18 +00:00
fix
This commit is contained in:
parent
a0d2f2085d
commit
08d098a2f4
@ -58,12 +58,12 @@ def process_error(error: str):
|
||||
|
||||
|
||||
def kill_fuzzer(fuzzer: str):
|
||||
p = subprocess.Popen(["ps", "-A"], stdout=subprocess.PIPE)
|
||||
out, err = p.communicate()
|
||||
for line in out.splitlines():
|
||||
if fuzzer in line:
|
||||
pid = int(line.split(None, 1)[0])
|
||||
os.kill(pid, signal.SIGKILL)
|
||||
with subprocess.Popen(["ps", "-A"], stdout=subprocess.PIPE) as p
|
||||
out, _ = p.communicate()
|
||||
for line in out.splitlines():
|
||||
if fuzzer in line:
|
||||
pid = int(line.split(None, 1)[0])
|
||||
os.kill(pid, signal.SIGKILL)
|
||||
|
||||
|
||||
def run_fuzzer(fuzzer: str, timeout: int):
|
||||
|
Loading…
Reference in New Issue
Block a user