this is close, but not quite right. The problem I see is related to the signal handling somehow. Ctrl-C works well, but if I run "kill <pid>" from another terminal, its really slow to repond and when it does - it doesn't exit the process. The problem is that when we run this in practice, UTAH is going to give it a sig-term when its timedout and then give a sig-kill. Given the sig-term will repond to slow, the process will just exit with no proper cleanup.
However, that might be okay since it will still exit with a bad return code and show the test as failed?
this is close, but not quite right. The problem I see is related to the signal handling somehow. Ctrl-C works well, but if I run "kill <pid>" from another terminal, its really slow to repond and when it does - it doesn't exit the process. The problem is that when we run this in practice, UTAH is going to give it a sig-term when its timedout and then give a sig-kill. Given the sig-term will repond to slow, the process will just exit with no proper cleanup.
However, that might be okay since it will still exit with a bad return code and show the test as failed?