Skip to content

Commit 337aeef

Browse files
committed
Ensure child processes are killed on Git agent timeout
Signed-off-by: Ed Snible <snible@us.ibm.com>
1 parent feb19e8 commit 337aeef

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

a2a/git_issue_agent/test_startup.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ expect {
1616
puts "Success"; exit 0
1717
}
1818
timeout {
19-
exec kill -9 $child_pid
19+
exec pkill -P $child_pid
2020
puts "Timed out waiting for startup"; exit 1
2121
}
2222
eof { puts "Process exited early"; exit 2 }

a2a/recipe_agent/.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ __pycache__
44
.git
55

66
# `expect` scripts
7-
test_startup.exp
7+
test_startup.exp

0 commit comments

Comments
 (0)