When killing the child processes, explicitly convert
them to strings.
Suggested-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
for child in self.children_pids:
try:
if config.args.container:
- config.container.run(['kill', child])
+ config.container.run(['kill', str(child)])
else:
- Run.run(['kill', child])
+ Run.run(['kill', str(child)])
except (RunError, ContainerError):
# ignore any errors during the kill command. this is belt
# and suspenders code