Skip to content

Commit 07e3b08

Browse files
committed
Filter out SIGTERM and SIGKILL exit codes from "completed almost ontime"
1 parent 3ab7700 commit 07e3b08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exec_helpers/subprocess_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def close_streams() -> None:
165165
# Force stop cycle if no exit code after kill
166166
except OSError:
167167
exit_code = async_result.interface.poll()
168-
if exit_code is not None: # Nothing to kill
168+
if exit_code is not None and exit_code not in {-9, -15}: # Nothing to kill
169169
self.logger.warning(
170170
"{!s} has been completed just after timeout: please validate timeout.".format(command)
171171
)

0 commit comments

Comments
 (0)