Update of /cvsroot/monetdb/pathfinder/tests/BugTracker/Tests
In directory
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv29349/tests/BugTracker/Tests
Modified Files:
port_busy.SF-1809586.py
Log Message:
propagated changes of Wednesday Nov 25 2009 - Saturday Nov 28 2009
from the Nov2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/11/25 - stmane: tests/BugTracker/Tests/port_busy.SF-1809586.py,1.2.6.3
slightly extended test and approved stable output for
ID: 1809586 "PF: busy port crashes Mserver"
https://sourceforge.net/tracker/?func=detail&aid=1809586&group_id=56967&atid=482468
and added extra Mfilter rule to cope with variable output
due to changing port numbers.
We accept the fact that starting a MonetDB/XQury server (`Mserver
--dbinit="module(pathfinder);"`)
quits instantly (with a proper error message)
in case either the MAPIPORT or the XQUERYPORT are not available
(the server does not make much sense without access to these ports).
The default ports can easily be overwritten on the server commandline:
--set mapi_port=<portno> --set xrpc_port=<portno>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: port_busy.SF-1809586.py
===================================================================
RCS file:
/cvsroot/monetdb/pathfinder/tests/BugTracker/Tests/port_busy.SF-1809586.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- port_busy.SF-1809586.py 16 Oct 2009 08:43:40 -0000 1.4
+++ port_busy.SF-1809586.py 28 Nov 2009 19:58:49 -0000 1.5
@@ -2,6 +2,8 @@
from MonetDBtesting import process
def prog(dbinit, input):
+ sys.stdout.write("%s\n" % dbinit)
+ sys.stderr.write("%s\n" % dbinit)
srv = process.server('mil', dbinit = dbinit,
stdin = process.PIPE,
stdout = process.PIPE,
@@ -14,6 +16,8 @@
mserver = os.getenv('MSERVER')
# test mapi and pathfinder modules with MAPIPORT busy
+ sys.stdout.write("MAPIPORT\n")
+ sys.stderr.write("MAPIPORT\n")
port = int(os.getenv('MAPIPORT', '50000'))
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind(('', port))
@@ -22,6 +26,8 @@
s.close()
# test mapi and pathfinder modules with XRPCPORT busy
+ sys.stdout.write("XRPCPORT\n")
+ sys.stderr.write("XRPCPORT\n")
port = int(os.getenv('XRPCPORT', '50001'))
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind(('', port))
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins