Skip to content

Commit 05d7720

Browse files
committed
Bug fix to kill command
1 parent 0d3944a commit 05d7720

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dev/run-tests.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,7 @@ def kill_zinc_on_port(zinc_port):
241241
"""
242242
cmd = ("/usr/sbin/lsof -P |grep %s | grep LISTEN "
243243
"| awk '{ print $2; }' | xargs kill") % zinc_port
244-
# TODO: Not sure what happens here if no process exists
245-
run_cmd(cmd)
244+
subprocess.check_call(cmd, shell=True)
246245

247246

248247
def exec_maven(mvn_args=()):

0 commit comments

Comments
 (0)