Skip to content

Commit

Permalink
ci: skip zomible process in crash test (#516)
Browse files Browse the repository at this point in the history
Signed-off-by: usamoi <[email protected]>
  • Loading branch information
usamoi authored Jul 4, 2024
1 parent bc4d8ad commit 94f16ed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/crash/kill.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@


def process_filter(p: psutil.Process) -> bool:
cmdline = "".join(p.cmdline())
try:
cmdline = "".join(p.cmdline())
except psutil.ZombieProcess:
return False
for case in FILTERS:
if case not in cmdline:
return False
Expand Down

0 comments on commit 94f16ed

Please sign in to comment.