Update of /cvsroot/monetdb/pathfinder/benchmarks/XMark/XRpc/Tests
In directory
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30565/pathfinder/benchmarks/XMark/XRpc/Tests
Modified Files:
Tag: XQuery_0-18
q01.xq.in q02.xq.in q03.xq.in q04.xq.in q05.xq.in q06.xq.in
q07.xq.in q08.xq.in q09.xq.in q10.xq.in q11.xq.in q12.xq.in
q13.xq.in q14.xq.in q15.xq.in q16.xq.in q17.xq.in q18.xq.in
q19.xq.in q20.xq.in
Log Message:
Replacing `execute at {"localhost:$XRPCPORT"}`
by `execute at {"$HOST:$XRPCPORT"}`
seems to "solve" (avoid?) the problem that XRPC does not release its socket
properly.
Hence, we do so for all XRPC tests, but add one new test that still checks
the `execute at {"localhost:$XRPCPORT"}` case.
Next to being related to the use of localhost (i.e., the loop-back interface),
the problem might also be related to the fact that XRPC client and server run
within the same Mserver process.
Although the current default in MonetDB4/conf/MonetDB.conf.in is
"xrpc_open=true",
we make Mtest.py explicitely start Mserver with "--set xrpc_open=true"
to be keep the XRPC tests working even in case the default will be changed.
Index: q18.xq.in
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/benchmarks/XMark/XRpc/Tests/q18.xq.in,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- q18.xq.in 20 Feb 2007 12:06:50 -0000 1.4
+++ q18.xq.in 10 Aug 2007 08:02:24 -0000 1.4.2.1
@@ -1,4 +1,4 @@
import module namespace xrpc = "http://www.cwi.nl/~boncz/xmark/opt/"
at "$TSTSRCBASE/benchmarks/XMark/opt/XQ/Tests/xmark.xq";
-execute at {"localhost:$XRPCPORT"} {xrpc:q18("auctionG.xml")}
+execute at {"$HOST:$XRPCPORT"} {xrpc:q18("auctionG.xml")}
Index: q06.xq.in
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/benchmarks/XMark/XRpc/Tests/q06.xq.in,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- q06.xq.in 20 Feb 2007 12:06:50 -0000 1.4
+++ q06.xq.in 10 Aug 2007 08:01:48 -0000 1.4.2.1
@@ -1,4 +1,4 @@
import module namespace xrpc = "http://www.cwi.nl/~boncz/xmark/opt/"
at "$TSTSRCBASE/benchmarks/XMark/opt/XQ/Tests/xmark.xq";
-execute at {"localhost:$XRPCPORT"} {xrpc:q06("auctionG.xml")}
+execute at {"$HOST:$XRPCPORT"} {xrpc:q06("auctionG.xml")}
Index: q05.xq.in
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/benchmarks/XMark/XRpc/Tests/q05.xq.in,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- q05.xq.in 20 Feb 2007 12:06:50 -0000 1.4
+++ q05.xq.in 10 Aug 2007 08:01:47 -0000 1.4.2.1
@@ -1,4 +1,4 @@
import module namespace xrpc = "http://www.cwi.nl/~boncz/xmark/opt/"
at "$TSTSRCBASE/benchmarks/XMark/opt/XQ/Tests/xmark.xq";
-execute at {"localhost:$XRPCPORT"} {xrpc:q05("auctionG.xml", 40.0)}
+execute at {"$HOST:$XRPCPORT"} {xrpc:q05("auctionG.xml", 40.0)}
Index: q19.xq.in
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/benchmarks/XMark/XRpc/Tests/q19.xq.in,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- q19.xq.in 20 Feb 2007 12:06:50 -0000 1.4
+++ q19.xq.in 10 Aug 2007 08:02:27 -0000 1.4.2.1
@@ -1,4 +1,4 @@
import module namespace xrpc = "http://www.cwi.nl/~boncz/xmark/opt/"
at "$TSTSRCBASE/benchmarks/XMark/opt/XQ/Tests/xmark.xq";
-execute at {"localhost:$XRPCPORT"} {xrpc:q19("auctionG.xml")}
+execute at {"$HOST:$XRPCPORT"} {xrpc:q19("auctionG.xml")}
Index: q04.xq.in
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/benchmarks/XMark/XRpc/Tests/q04.xq.in,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- q04.xq.in 20 Feb 2007 12:06:50 -0000 1.4
+++ q04.xq.in 10 Aug 2007 08:01:46 -0000 1.4.2.1
@@ -1,4 +1,4 @@
import module namespace xrpc = "http://www.cwi.nl/~boncz/xmark/opt/"
at "$TSTSRCBASE/benchmarks/XMark/opt/XQ/Tests/xmark.xq";
-execute at {"localhost:$XRPCPORT"} {xrpc:q04("auctionG.xml", "person20",
"person51")}
+execute at {"$HOST:$XRPCPORT"} {xrpc:q04("auctionG.xml", "person20",
"person51")}
Index: q07.xq.in
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/benchmarks/XMark/XRpc/Tests/q07.xq.in,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- q07.xq.in 20 Feb 2007 12:06:50 -0000 1.4
+++ q07.xq.in 10 Aug 2007 08:01:50 -0000 1.4.2.1
@@ -1,4 +1,4 @@
import module namespace xrpc = "http://www.cwi.nl/~boncz/xmark/opt/"
at "$TSTSRCBASE/benchmarks/XMark/opt/XQ/Tests/xmark.xq";
-execute at {"localhost:$XRPCPORT"} {xrpc:q07("auctionG.xml")}
+execute at {"$HOST:$XRPCPORT"} {xrpc:q07("auctionG.xml")}
Index: q01.xq.in
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/benchmarks/XMark/XRpc/Tests/q01.xq.in,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- q01.xq.in 20 Feb 2007 12:06:50 -0000 1.4
+++ q01.xq.in 10 Aug 2007 08:01:41 -0000 1.4.2.1
@@ -1,4 +1,4 @@
import module namespace xrpc = "http://www.cwi.nl/~boncz/xmark/opt/"
at "$TSTSRCBASE/benchmarks/XMark/opt/XQ/Tests/xmark.xq";
-execute at {"localhost:$XRPCPORT"} {xrpc:q01("auctionG.xml", "person0")}
+execute at {"$HOST:$XRPCPORT"} {xrpc:q01("auctionG.xml", "person0")}
Index: q14.xq.in
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/benchmarks/XMark/XRpc/Tests/q14.xq.in,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- q14.xq.in 20 Feb 2007 12:06:50 -0000 1.4
+++ q14.xq.in 10 Aug 2007 08:02:11 -0000 1.4.2.1
@@ -1,4 +1,4 @@
import module namespace xrpc = "http://www.cwi.nl/~boncz/xmark/opt/"
at "$TSTSRCBASE/benchmarks/XMark/opt/XQ/Tests/xmark.xq";
-execute at {"localhost:$XRPCPORT"} {xrpc:q14("auctionG.xml", "gold")}
+execute at {"$HOST:$XRPCPORT"} {xrpc:q14("auctionG.xml", "gold")}
Index: q08.xq.in
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/benchmarks/XMark/XRpc/Tests/q08.xq.in,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- q08.xq.in 20 Feb 2007 12:06:50 -0000 1.4
+++ q08.xq.in 10 Aug 2007 08:01:52 -0000 1.4.2.1
@@ -1,4 +1,4 @@
import module namespace xrpc = "http://www.cwi.nl/~boncz/xmark/opt/"
at "$TSTSRCBASE/benchmarks/XMark/opt/XQ/Tests/xmark.xq";
-execute at {"localhost:$XRPCPORT"} {xrpc:q08("auctionG.xml")}
+execute at {"$HOST:$XRPCPORT"} {xrpc:q08("auctionG.xml")}
Index: q20.xq.in
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/benchmarks/XMark/XRpc/Tests/q20.xq.in,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- q20.xq.in 20 Feb 2007 12:06:51 -0000 1.4
+++ q20.xq.in 10 Aug 2007 08:02:29 -0000 1.4.2.1
@@ -1,4 +1,4 @@
import module namespace xrpc = "http://www.cwi.nl/~boncz/xmark/opt/"
at "$TSTSRCBASE/benchmarks/XMark/opt/XQ/Tests/xmark.xq";
-execute at {"localhost:$XRPCPORT"} {xrpc:q20("auctionG.xml", 30000.0,
100000.0)}
+execute at {"$HOST:$XRPCPORT"} {xrpc:q20("auctionG.xml", 30000.0, 100000.0)}
Index: q17.xq.in
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/benchmarks/XMark/XRpc/Tests/q17.xq.in,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- q17.xq.in 20 Feb 2007 12:06:50 -0000 1.4
+++ q17.xq.in 10 Aug 2007 08:02:22 -0000 1.4.2.1
@@ -1,4 +1,4 @@
import module namespace xrpc = "http://www.cwi.nl/~boncz/xmark/opt/"
at "$TSTSRCBASE/benchmarks/XMark/opt/XQ/Tests/xmark.xq";
-execute at {"localhost:$XRPCPORT"} {xrpc:q17("auctionG.xml")}
+execute at {"$HOST:$XRPCPORT"} {xrpc:q17("auctionG.xml")}
Index: q03.xq.in
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/benchmarks/XMark/XRpc/Tests/q03.xq.in,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- q03.xq.in 20 Feb 2007 12:06:50 -0000 1.4
+++ q03.xq.in 10 Aug 2007 08:01:44 -0000 1.4.2.1
@@ -1,4 +1,4 @@
import module namespace xrpc = "http://www.cwi.nl/~boncz/xmark/opt/"
at "$TSTSRCBASE/benchmarks/XMark/opt/XQ/Tests/xmark.xq";
-execute at {"localhost:$XRPCPORT"} {xrpc:q03("auctionG.xml")}
+execute at {"$HOST:$XRPCPORT"} {xrpc:q03("auctionG.xml")}
Index: q09.xq.in
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/benchmarks/XMark/XRpc/Tests/q09.xq.in,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- q09.xq.in 20 Feb 2007 12:06:50 -0000 1.4
+++ q09.xq.in 10 Aug 2007 08:01:54 -0000 1.4.2.1
@@ -1,4 +1,4 @@
import module namespace xrpc = "http://www.cwi.nl/~boncz/xmark/opt/"
at "$TSTSRCBASE/benchmarks/XMark/opt/XQ/Tests/xmark.xq";
-execute at {"localhost:$XRPCPORT"} {xrpc:q09("auctionG.xml")}
+execute at {"$HOST:$XRPCPORT"} {xrpc:q09("auctionG.xml")}
Index: q10.xq.in
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/benchmarks/XMark/XRpc/Tests/q10.xq.in,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- q10.xq.in 20 Feb 2007 12:06:50 -0000 1.4
+++ q10.xq.in 10 Aug 2007 08:01:56 -0000 1.4.2.1
@@ -1,4 +1,4 @@
import module namespace xrpc = "http://www.cwi.nl/~boncz/xmark/opt/"
at "$TSTSRCBASE/benchmarks/XMark/opt/XQ/Tests/xmark.xq";
-execute at {"localhost:$XRPCPORT"} {xrpc:q10("auctionG.xml")}
+execute at {"$HOST:$XRPCPORT"} {xrpc:q10("auctionG.xml")}
Index: q02.xq.in
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/benchmarks/XMark/XRpc/Tests/q02.xq.in,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- q02.xq.in 20 Feb 2007 12:06:50 -0000 1.4
+++ q02.xq.in 10 Aug 2007 08:01:43 -0000 1.4.2.1
@@ -1,4 +1,4 @@
import module namespace xrpc = "http://www.cwi.nl/~boncz/xmark/opt/"
at "$TSTSRCBASE/benchmarks/XMark/opt/XQ/Tests/xmark.xq";
-execute at {"localhost:$XRPCPORT"} {xrpc:q02("auctionG.xml")}
+execute at {"$HOST:$XRPCPORT"} {xrpc:q02("auctionG.xml")}
Index: q15.xq.in
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/benchmarks/XMark/XRpc/Tests/q15.xq.in,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- q15.xq.in 20 Feb 2007 12:06:50 -0000 1.4
+++ q15.xq.in 10 Aug 2007 08:02:15 -0000 1.4.2.1
@@ -1,4 +1,4 @@
import module namespace xrpc = "http://www.cwi.nl/~boncz/xmark/opt/"
at "$TSTSRCBASE/benchmarks/XMark/opt/XQ/Tests/xmark.xq";
-execute at {"localhost:$XRPCPORT"} {xrpc:q15("auctionG.xml")}
+execute at {"$HOST:$XRPCPORT"} {xrpc:q15("auctionG.xml")}
Index: q12.xq.in
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/benchmarks/XMark/XRpc/Tests/q12.xq.in,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- q12.xq.in 20 Feb 2007 12:06:50 -0000 1.4
+++ q12.xq.in 10 Aug 2007 08:02:02 -0000 1.4.2.1
@@ -1,4 +1,4 @@
import module namespace xrpc = "http://www.cwi.nl/~boncz/xmark/opt/"
at "$TSTSRCBASE/benchmarks/XMark/opt/XQ/Tests/xmark.xq";
-execute at {"localhost:$XRPCPORT"} {xrpc:q12("auctionG.xml", 5000, 50000.0)}
+execute at {"$HOST:$XRPCPORT"} {xrpc:q12("auctionG.xml", 5000, 50000.0)}
Index: q11.xq.in
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/benchmarks/XMark/XRpc/Tests/q11.xq.in,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- q11.xq.in 20 Feb 2007 12:06:50 -0000 1.4
+++ q11.xq.in 10 Aug 2007 08:01:59 -0000 1.4.2.1
@@ -1,4 +1,4 @@
import module namespace xrpc = "http://www.cwi.nl/~boncz/xmark/opt/"
at "$TSTSRCBASE/benchmarks/XMark/opt/XQ/Tests/xmark.xq";
-execute at {"localhost:$XRPCPORT"} {xrpc:q11("auctionG.xml", 5000)}
+execute at {"$HOST:$XRPCPORT"} {xrpc:q11("auctionG.xml", 5000)}
Index: q13.xq.in
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/benchmarks/XMark/XRpc/Tests/q13.xq.in,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- q13.xq.in 20 Feb 2007 12:06:50 -0000 1.4
+++ q13.xq.in 10 Aug 2007 08:02:06 -0000 1.4.2.1
@@ -1,4 +1,4 @@
import module namespace xrpc = "http://www.cwi.nl/~boncz/xmark/opt/"
at "$TSTSRCBASE/benchmarks/XMark/opt/XQ/Tests/xmark.xq";
-execute at {"localhost:$XRPCPORT"} {xrpc:q13("auctionG.xml")}
+execute at {"$HOST:$XRPCPORT"} {xrpc:q13("auctionG.xml")}
Index: q16.xq.in
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/benchmarks/XMark/XRpc/Tests/q16.xq.in,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- q16.xq.in 20 Feb 2007 12:06:50 -0000 1.4
+++ q16.xq.in 10 Aug 2007 08:02:20 -0000 1.4.2.1
@@ -1,4 +1,4 @@
import module namespace xrpc = "http://www.cwi.nl/~boncz/xmark/opt/"
at "$TSTSRCBASE/benchmarks/XMark/opt/XQ/Tests/xmark.xq";
-execute at {"localhost:$XRPCPORT"} {xrpc:q16("auctionG.xml")}
+execute at {"$HOST:$XRPCPORT"} {xrpc:q16("auctionG.xml")}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins