Update of /cvsroot/monetdb/MonetDB/src/testing
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23525/src/testing

Modified Files:
        Mtest.py.in 
Log Message:

be more rigid & forceful:
in case of a timeout, we now kill processes using SIGKILL instead of SIGTERM;
maybe, this helps to indeed stop / kill (hanging?) multi-threaded Mserver
(test MonetDB4/tests/BugsViaSourgeforce/Tests/ID.914155.milS)


Index: Mtest.py.in
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/testing/Mtest.py.in,v
retrieving revision 1.329
retrieving revision 1.330
diff -u -d -r1.329 -r1.330
--- Mtest.py.in 11 Dec 2007 23:55:41 -0000      1.329
+++ Mtest.py.in 13 Dec 2007 11:37:55 -0000      1.330
@@ -2044,7 +2044,7 @@
 
 def killProc(proc, outfile = None, cmd = None):
     try:
-        os.kill(-proc.pid, signal.SIGTERM)
+        os.kill(-proc.pid, signal.SIGKILL)
     except AttributeError:
         subprocess.Popen(['pskill','-t',str(proc.pid)])
     if outfile is not None and cmd is not None:


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to