I've noticed when I use the Server timeout, it doesn't kill the underlying svn.exe process and puts the server in a hung state. I did some testing and found if I give the subversion action a timeout itself, even that leaves the svn.exe process hanging around. Is this as intended, or should it be killing the process?
The svn process should be killed after a timeout. I’ll take a look at this.
I'm attaching a sample project. It runs a dumb tcp server written in Perl and then asynchronously runs an svn checkout against the server. The subversion action times out after 1 minute, the tcp server times out after 2. The final action is a powershell script that looks for and kills svn processes that were spawned by the script.
SvnTimeoutLeavesOrphan.zip (3.752 KB)Hi Nelson
After investigation, it seems that the default behavior does not terminate the process on a timeout. There is a TerminateOnTimeout property on the action, which unfortunately isn't exposed in the Timeout Dialog but it is exposed in the Action inspector. When I set this the svn process is terminated immediately after a timeout.
BTW, for Server, are you talking about the project timeout, or the trigger timeout?