Changeset: 7ce3897350f0 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=7ce3897350f0
Modified Files:
        testing/Mtest.py.in
Branch: Aug2011
Log Message:

Mtest: don't treat "Connection terminated" as segfault

The client cannot possibly see the difference between a server closing
the connection because it crashed or just because it was shot down (e.g.
by Mtimeout), so don't treat a disconnect from the server as a server
crash.

This resolves many crashes in the testweb, that in fact turn out to be
just timeouts.


diffs (12 lines):

diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -2501,7 +2501,7 @@ def DoIt(env, SERVER, CALL, TST, EXT, PR
 
     segfaulted = False
     # Try to detect segfaults and the like
-    TO = re.compile("((^|^[^#]*[\t ])(Memory [Ff]ault|Segmentation 
[Ff]ault|Bus [Ee]rror|Abort(|ed)|Assertion failed:|!FATAL: BATSIGabort:)([ 
\t]|$)|(^ERROR = !Connection terminated$))", re.MULTILINE)
+    TO = re.compile("((^|^[^#]*[\t ])(Memory [Ff]ault|Segmentation 
[Ff]ault|Bus [Ee]rror|Abort(|ed)|Assertion failed:|!FATAL: BATSIGabort:)([ 
\t]|$))", re.MULTILINE)
     # FIXME: this begs for a much nicer solution (100% copy of below)
     if os.path.isfile(TestErrFile):
         for l in open(TestErrFile):
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to