Changeset: e32bb491d8d8 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e32bb491d8d8 Added Files: sql/jdbc/tests/Tests/Test_Csendthread.SQL.bat sql/jdbc/tests/Tests/Test_Csendthread.SQL.sh sql/jdbc/tests/Tests/Test_Csendthread.stable.err sql/jdbc/tests/Tests/Test_Csendthread.stable.out Modified Files: sql/jdbc/tests/Tests/All Branch: Oct2012 Log Message:
Test_Csendthread: enable for testing diffs (123 lines): diff --git a/sql/jdbc/tests/Tests/All b/sql/jdbc/tests/Tests/All --- a/sql/jdbc/tests/Tests/All +++ b/sql/jdbc/tests/Tests/All @@ -4,6 +4,7 @@ HAVE_JDBCTESTS?Test_Cmanycon HAVE_JDBCTESTS?Test_Creplysize HAVE_JDBCTESTS?Test_Csavepoints HAVE_JDBCTESTS?Test_Ctransaction +HAVE_JDBCTESTS?Test_Csendthread HAVE_JDBCTESTS?Test_Dobjects HAVE_JDBCTESTS?Test_PSgeneratedkeys HAVE_JDBCTESTS?Test_PSsomeamount diff --git a/sql/jdbc/tests/Tests/Test_Csendthread.SQL.bat b/sql/jdbc/tests/Tests/Test_Csendthread.SQL.bat new file mode 100755 --- /dev/null +++ b/sql/jdbc/tests/Tests/Test_Csendthread.SQL.bat @@ -0,0 +1,1 @@ +@call "%TSTSRCDIR%\Test.SQL.bat" %* diff --git a/sql/jdbc/tests/Tests/Test_Csendthread.SQL.sh b/sql/jdbc/tests/Tests/Test_Csendthread.SQL.sh new file mode 100755 --- /dev/null +++ b/sql/jdbc/tests/Tests/Test_Csendthread.SQL.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +$TSTSRCDIR/Test.SQL.sh $* diff --git a/sql/jdbc/tests/Tests/Test_Csendthread.stable.err b/sql/jdbc/tests/Tests/Test_Csendthread.stable.err new file mode 100644 --- /dev/null +++ b/sql/jdbc/tests/Tests/Test_Csendthread.stable.err @@ -0,0 +1,41 @@ +stderr of test 'Test_Csendthread` in directory 'jdbc/tests` itself: + + +# 13:14:25 > +# 13:14:25 > "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" "gdk_dbfarm=/net/sofia.ins.cwi.nl/export/scratch1/fabian/tmp/mtest-Oct2012-sofia.ins.cwi.nl/sql/dbfarm" "--set" "mapi_open=true" "--set" "mapi_port=36288" "--set" "monet_prompt=" "--trace" "--forcemito" "--set" "mal_listing=2" "--dbname=mTests_jdbc_tests" "--set" "mal_listing=0" +# 13:14:25 > + +# builtin opt gdk_dbname = demo +# builtin opt gdk_dbfarm = /ufs/fabian/scratch/ssd/monetdb/Oct2012/program-x86_64/var/lib/monetdb5/dbfarm +# builtin opt gdk_debug = 0 +# builtin opt gdk_vmtrim = yes +# builtin opt monet_prompt = > +# builtin opt monet_daemon = no +# builtin opt mapi_port = 50000 +# builtin opt mapi_open = false +# builtin opt mapi_autosense = false +# builtin opt sql_optimizer = default_pipe +# builtin opt sql_debug = 0 +# cmdline opt gdk_nr_threads = 0 +# cmdline opt gdk_dbfarm = /net/sofia.ins.cwi.nl/export/scratch1/fabian/tmp/mtest-Oct2012-sofia.ins.cwi.nl/sql/dbfarm +# cmdline opt mapi_open = true +# cmdline opt mapi_port = 36288 +# cmdline opt monet_prompt = +# cmdline opt mal_listing = 2 +# cmdline opt gdk_dbname = mTests_jdbc_tests +# cmdline opt mal_listing = 0 + +# 13:14:25 > +# 13:14:25 > "./Test_Csendthread.SQL.sh" "Test_Csendthread" +# 13:14:25 > + + +# 13:14:25 > +# 13:14:25 > java Test_Csendthread "jdbc:monetdb://sofia:36288/mTests_jdbc_tests?user=monetdb&password=monetdb" +# 13:14:25 > + + +# 13:14:26 > +# 13:14:26 > "Done." +# 13:14:26 > + diff --git a/sql/jdbc/tests/Tests/Test_Csendthread.stable.out b/sql/jdbc/tests/Tests/Test_Csendthread.stable.out new file mode 100644 --- /dev/null +++ b/sql/jdbc/tests/Tests/Test_Csendthread.stable.out @@ -0,0 +1,47 @@ +stdout of test 'Test_Csendthread` in directory 'jdbc/tests` itself: + + +# 13:14:25 > +# 13:14:25 > "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" "gdk_dbfarm=/net/sofia.ins.cwi.nl/export/scratch1/fabian/tmp/mtest-Oct2012-sofia.ins.cwi.nl/sql/dbfarm" "--set" "mapi_open=true" "--set" "mapi_port=36288" "--set" "monet_prompt=" "--trace" "--forcemito" "--set" "mal_listing=2" "--dbname=mTests_jdbc_tests" "--set" "mal_listing=0" +# 13:14:25 > + +# MonetDB 5 server v11.13.4 "Oct2012-22a83e891492" +# Serving database 'mTests_jdbc_tests', using 8 threads +# Compiled for x86_64-pc-linux-gnu/64bit with 64bit OIDs dynamically linked +# Found 15.629 GiB available main-memory. +# Copyright (c) 1993-July 2008 CWI. +# Copyright (c) August 2008-2012 MonetDB B.V., all rights reserved +# Visit http://www.monetdb.org/ for further information +# Listening for connection requests on mapi:monetdb://sofia.ins.cwi.nl:36288/ +# MonetDB/GIS module loaded +# MonetDB/JAQL module loaded +# MonetDB/SQL module loaded + +Ready. + +# 13:14:25 > +# 13:14:25 > "./Test_Csendthread.SQL.sh" "Test_Csendthread" +# 13:14:25 > + + +# 13:14:25 > +# 13:14:25 > java Test_Csendthread "jdbc:monetdb://sofia:36288/mTests_jdbc_tests?user=monetdb&password=monetdb" +# 13:14:25 > + +0. active threads: 1 +1. active threads: 2 +1. active threads: 2 +1. active threads: 2 +1. active threads: 2 +1. active threads: 2 +1. active threads: 2 +1. active threads: 2 +1. active threads: 2 +1. active threads: 2 +1. active threads: 2 +2. active threads: 1 + +# 13:14:26 > +# 13:14:26 > "Done." +# 13:14:26 > + _______________________________________________ checkin-list mailing list checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list