Subject | Re: [Firebird-Java] Re: Test Failuer report? |
---|---|
Author | David Jencks |
Post date | 2002-10-13T14:17:25Z |
I'm pretty sure the FBWrappingDatasource test failure is due to another
indeterminate test. I don't know how to test these multithreaded + timer
interactions more successfully. Any suggestions appreciated.
thanks
david jencks
indeterminate test. I don't know how to test these multithreaded + timer
interactions more successfully. Any suggestions appreciated.
thanks
david jencks
On 2002.10.13 08:01:09 -0400 jwcanada wrote:
> David,
>
> As I am not able to attach the file, I just pasted it below:
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <testsuite errors="0" failures="1"
> name="org.firebirdsql.jca.TestPoolingConnectionManager" tests="4"
> time="90.25">
> <properties>
> <property name="java.vendor" value="Sun Microsystems
> Inc."></property>
> <property name="lib.dir"
> value="D:\java\lib\client-java/lib"></property>
> <property name="build.lib"
> value="D:\java\lib\client-java/output/lib"></property>
> <property name="os.name" value="Windows 2000"></property>
> <property name="sun.boot.class.path"
> value="C:\j2sdk1.4.1\jre\lib\rt.jar;C:\j2sdk1.4.1\jre\lib\i18n.jar;C:\j2sdk1.4.1\jre\lib\sunrsasign.jar;C:\j2sdk1.4.1\jre\lib\jsse.jar;C:\j2sdk1.4.1\jre\lib\jce.jar;C:\j2sdk1.4.1\jre\lib\charsets.jar;C:\j2sdk1.4.1\jre\classes"></property>
> <property name="TODAY" value="October 13 2002"></property>
> <property name="source.resources"
> value="D:\java\lib\client-java/src/resources"></property>
> <property name="sun.java2d.fontpath" value=""></property>
> <property name="java.vm.specification.vendor" value="Sun
> Microsystems Inc."></property>
> <property name="jboss.deploy.dir"
> value="/usr/java/jboss/rc1/jboss-all/build/output/jboss-3.0.1RC1/server/all/deploy"></property>
> <property name="ant.home"
> value="D:\java\lib\client-java\bin\\.."></property>
> <property name="java.runtime.version" value="1.4.1-b21"></property>
> <property name="user.name" value="jw"></property>
> <property name="build.api"
> value="D:\java\lib\client-java/output/api"></property>
> <property name="source.test"
> value="D:\java\lib\client-java/src/test"></property>
> <property name="javax.xml.parsers.SAXParserFactory"
> value="org.apache.xerces.jaxp.SAXParserFactoryImpl"></property>
> <property name="user.language" value="en"></property>
> <property name="sun.boot.library.path"
> value="C:\j2sdk1.4.1\jre\bin"></property>
> <property name="ant.project.name" value="FirebirdSQL"></property>
> <property name="DSTAMP" value="20021013"></property>
> <property name="java.version" value="1.4.1"></property>
> <property name="build.bin"
> value="D:\java\lib\client-java/output/bin"></property>
> <property name="version" value="1.0_RC1a"></property>
> <property name="user.timezone" value=""></property>
> <property name="sun.arch.data.model" value="32"></property>
> <property name="junit.batchtest.todir"
> value="D:\java\lib\client-java/output/reports"></property>
> <property name="build.stylesheets"
> value="D:\java\lib\client-java/output/stylesheets"></property>
> <property name="java.endorsed.dirs"
> value="C:\j2sdk1.4.1\jre\lib\endorsed"></property>
> <property name="sun.cpu.isalist" value="pentium i486
> i386"></property>
> <property name="file.encoding.pkg" value="sun.io"></property>
> <property name="junit.jvm" value="java"></property>
> <property name="file.separator" value="\"></property>
> <property name="java.specification.name" value="Java Platform API
> Specification"></property>
> <property name="test.db.port" value="3050"></property>
> <property name="java.class.version" value="48.0"></property>
> <property name="junit.timeout" value="600000"></property>
> <property name="user.country" value="US"></property>
> <property name="java.home" value="C:\j2sdk1.4.1\jre"></property>
> <property name="module.source"
> value="D:\java\lib\client-java/src"></property>
> <property name="javax.xml.parsers.DocumentBuilderFactory"
> value="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"></property>
> <property name="junit.formatter.usefile" value="true"></property>
> <property name="java.vm.info" value="mixed mode"></property>
> <property name="build.dist"
> value="D:\java\lib\client-java/output/dist"></property>
> <property name="ant.file"
> value="D:\java\lib\client-java\build.xml"></property>
> <property name="os.version" value="5.0"></property>
> <property name="j2ee.present" value="true"></property>
> <property name="path.separator" value=";"></property>
> <property name="jboss.source.root"
> value="D:\java\lib\client-java\thirdparty\jboss"></property>
> <property name="java.vm.version" value="1.4.1-b21"></property>
> <property name="build.etc"
> value="D:\java\lib\client-java/output/etc"></property>
> <property name="dummy" value=""></property>
> <property name="java.util.prefs.PreferencesFactory"
> value="java.util.prefs.WindowsPreferencesFactory"></property>
> <property name="user.variant" value=""></property>
> <property name="source.stylesheets"
> value="D:\java\lib\client-java/src/stylesheets"></property>
> <property name="jbosstest.deploy.dir"
> value="D:\java\lib\client-java\output\lib"></property>
> <property name="java.awt.printerjob"
> value="sun.awt.windows.WPrinterJob"></property>
> <property name="sun.io.unicode.encoding"
> value="UnicodeLittle"></property>
> <property name="awt.toolkit"
> value="sun.awt.windows.WToolkit"></property>
> <property name="packages" value="org.firebirdsql.*"></property>
> <property name="module.thirdparty"
> value="D:\java\lib\client-java/src/lib"></property>
> <property name="user.home" value="C:\Documents and
> Settings\jw.POWER"></property>
> <property name="module.tools"
> value="D:\java\lib\client-java/lib"></property>
> <property name="java.specification.vendor" value="Sun Microsystems
> Inc."></property>
> <property name="test.db.dir"
> value="D:\java\lib\client-java/output/db"></property>
> <property name="build.resources"
> value="D:\java\lib\client-java/output/resources"></property>
> <property name="java.library.path"
> value="C:\j2sdk1.4.1\bin;.;C:\WINNT\System32;C:\WINNT;C:\Program
> Files\Borland\Delphi7\Projects\Bpl\;D:\OraHome1\bin;C:\WINNT\system32;C:\WINNT;C:\MSSQL7\BINN;C:\code\server7.5\Firebird\bin;"\bin";"C:\j2sdk1.4.1\lib\tools.jar""></property>
> <property name="name" value="firebirdsql"></property>
> <property name="java.vendor.url"
> value="http://java.sun.com/"></property>
> <property name="build.reports"
> value="D:\java\lib\client-java/output/reports"></property>
> <property name="java.vm.vendor" value="Sun Microsystems
> Inc."></property>
> <property name="build.j2ee"
> value="D:\java\lib\client-java/output/j2ee"></property>
> <property name="java.runtime.name" value="Java(TM) 2 Runtime
> Environment, Standard Edition"></property>
> <property name="ant.version" value="Apache Ant version 1.5
> compiled on July 9 2002"></property>
> <property name="java.class.path"
> value="D:\java\lib\client-java\output\classes;D:\java\lib\client-java\output\test;D:\java\lib\client-java\output\resources;D:\java\lib\client-java\lib\ant.jar;D:\java\lib\client-java\lib\optional.jar;D:\java\lib\client-java\src\lib\jaas.jar;D:\java\lib\client-java\output\j2ee;D:\java\lib\client-java\src\lib\jdbc-3_0-pfd2-classes.zip;D:\java\lib\client-java\output\concurrent;D:\java\lib\client-java\src\lib\log4j-core.jar;D:\java\lib\client-java\lib\junit.jar"></property>
> <property name="junit.printsummary" value="true"></property>
> <property name="module.output"
> value="D:\java\lib\client-java/output"></property>
> <property name="TSTAMP" value="0704"></property>
> <property name="source.java"
> value="D:\java\lib\client-java/src/main"></property>
> <property name="java.vm.specification.name" value="Java Virtual
> Machine Specification"></property>
> <property name="java.vm.specification.version"
> value="1.0"></property>
> <property name="junit.haltonerror" value="true"></property>
> <property name="build.classes"
> value="D:\java\lib\client-java/output/classes"></property>
> <property name="sun.os.patch.level" value="Service Pack
> 3"></property>
> <property name="sun.cpu.endian" value="little"></property>
> <property name="java.io.tmpdir"
> value="C:\DOCUME~1\JW0E56~1.POW\LOCALS~1\Temp\"></property>
> <property name="build.concurrent"
> value="D:\java\lib\client-java/output/concurrent"></property>
> <property name="thirdparty"
> value="D:\java\lib\client-java/thirdparty"></property>
> <property name="java.vendor.url.bug"
> value="http://java.sun.com/cgi-bin/bugreport.cgi"></property>
> <property name="Name" value="FirebirdSQL"></property>
> <property name="java.awt.graphicsenv"
> value="sun.awt.Win32GraphicsEnvironment"></property>
> <property name="os.arch" value="x86"></property>
> <property name="jboss.base.dir"
> value="/usr/java/jboss/rc1/jboss-all/build/output/jboss-3.0.1RC1"></property>
> <property name="java.ext.dirs"
> value="C:\j2sdk1.4.1\jre\lib\ext"></property>
> <property name="user.dir"
> value="D:\java\lib\client-java\output"></property>
> <property name="build.docs"
> value="D:\java\lib\client-java/output/docs"></property>
> <property name="junit.haltonfailure" value="true"></property>
> <property name="line.separator" value="
> "></property>
> <property name="java.vm.name" value="Java HotSpot(TM) Client
> VM"></property>
> <property name="basedir" value="D:\java\lib\client-java"></property>
> <property name="build.testlog"
> value="D:\java\lib\client-java/output/log"></property>
> <property name="ant.java.version" value="1.4"></property>
> <property name="junit.formatter.type" value="xml"></property>
> <property name="module.root"
> value="D:\java\lib\client-java"></property>
> <property name="file.encoding" value="Cp1252"></property>
> <property name="build.compiler" value="classic"></property>
> <property name="build.test"
> value="D:\java\lib\client-java/output/test"></property>
> <property name="java.specification.version" value="1.4"></property>
> <property name="module.etc"
> value="D:\java\lib\client-java/src/etc"></property>
> <property name="log4j.properties"
> value="D:\java\lib\client-java\output\resources\log4j.properties"></property>
> <property name="junit.fork" value="true"></property>
> <property name="test.db.host" value="localhost"></property>
> <property name="junit.jvm.options" value="-Ddummy"></property>
> </properties>
> <testcase name="testGetManagedConnections" time="5.358"></testcase>
> <testcase name="testShortBlocking" time="4.537">
> <failure message="Wrong number of connections counted: 0"
> type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError:
> Wrong number of connections counted: 0
> at
> org.firebirdsql.jca.TestPoolingConnectionManager.testShortBlocking(TestPoolingConnectionManager.java:142)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> </failure>
> </testcase>
> <testcase name="testIdleTimeout" time="7.392"></testcase>
> <testcase name="testFillToMin" time="72.412"></testcase>
> <system-out><![CDATA[]]></system-out>
> <system-err><![CDATA[]]></system-err>
> </testsuite>
>
> =============
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <testsuite errors="0" failures="1"
> name="org.firebirdsql.jdbc.TestFBWrappingDataSource" tests="3"
> time="9.995">
> <properties>
> <property name="java.vendor" value="Sun Microsystems
> Inc."></property>
> <property name="lib.dir"
> value="D:\java\lib\client-java/lib"></property>
> <property name="build.lib"
> value="D:\java\lib\client-java/output/lib"></property>
> <property name="os.name" value="Windows 2000"></property>
> <property name="sun.boot.class.path"
> value="C:\j2sdk1.4.1\jre\lib\rt.jar;C:\j2sdk1.4.1\jre\lib\i18n.jar;C:\j2sdk1.4.1\jre\lib\sunrsasign.jar;C:\j2sdk1.4.1\jre\lib\jsse.jar;C:\j2sdk1.4.1\jre\lib\jce.jar;C:\j2sdk1.4.1\jre\lib\charsets.jar;C:\j2sdk1.4.1\jre\classes"></property>
> <property name="TODAY" value="October 13 2002"></property>
> <property name="source.resources"
> value="D:\java\lib\client-java/src/resources"></property>
> <property name="sun.java2d.fontpath" value=""></property>
> <property name="java.vm.specification.vendor" value="Sun
> Microsystems Inc."></property>
> <property name="jboss.deploy.dir"
> value="/usr/java/jboss/rc1/jboss-all/build/output/jboss-3.0.1RC1/server/all/deploy"></property>
> <property name="ant.home"
> value="D:\java\lib\client-java\bin\\.."></property>
> <property name="java.runtime.version" value="1.4.1-b21"></property>
> <property name="user.name" value="jw"></property>
> <property name="build.api"
> value="D:\java\lib\client-java/output/api"></property>
> <property name="source.test"
> value="D:\java\lib\client-java/src/test"></property>
> <property name="javax.xml.parsers.SAXParserFactory"
> value="org.apache.xerces.jaxp.SAXParserFactoryImpl"></property>
> <property name="user.language" value="en"></property>
> <property name="sun.boot.library.path"
> value="C:\j2sdk1.4.1\jre\bin"></property>
> <property name="ant.project.name" value="FirebirdSQL"></property>
> <property name="DSTAMP" value="20021013"></property>
> <property name="java.version" value="1.4.1"></property>
> <property name="build.bin"
> value="D:\java\lib\client-java/output/bin"></property>
> <property name="version" value="1.0_RC1a"></property>
> <property name="user.timezone" value=""></property>
> <property name="sun.arch.data.model" value="32"></property>
> <property name="junit.batchtest.todir"
> value="D:\java\lib\client-java/output/reports"></property>
> <property name="build.stylesheets"
> value="D:\java\lib\client-java/output/stylesheets"></property>
> <property name="java.endorsed.dirs"
> value="C:\j2sdk1.4.1\jre\lib\endorsed"></property>
> <property name="sun.cpu.isalist" value="pentium i486
> i386"></property>
> <property name="file.encoding.pkg" value="sun.io"></property>
> <property name="junit.jvm" value="java"></property>
> <property name="file.separator" value="\"></property>
> <property name="java.specification.name" value="Java Platform API
> Specification"></property>
> <property name="test.db.port" value="3050"></property>
> <property name="java.class.version" value="48.0"></property>
> <property name="junit.timeout" value="600000"></property>
> <property name="user.country" value="US"></property>
> <property name="java.home" value="C:\j2sdk1.4.1\jre"></property>
> <property name="module.source"
> value="D:\java\lib\client-java/src"></property>
> <property name="javax.xml.parsers.DocumentBuilderFactory"
> value="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"></property>
> <property name="junit.formatter.usefile" value="true"></property>
> <property name="java.vm.info" value="mixed mode"></property>
> <property name="build.dist"
> value="D:\java\lib\client-java/output/dist"></property>
> <property name="ant.file"
> value="D:\java\lib\client-java\build.xml"></property>
> <property name="os.version" value="5.0"></property>
> <property name="j2ee.present" value="true"></property>
> <property name="path.separator" value=";"></property>
> <property name="jboss.source.root"
> value="D:\java\lib\client-java\thirdparty\jboss"></property>
> <property name="java.vm.version" value="1.4.1-b21"></property>
> <property name="build.etc"
> value="D:\java\lib\client-java/output/etc"></property>
> <property name="dummy" value=""></property>
> <property name="java.util.prefs.PreferencesFactory"
> value="java.util.prefs.WindowsPreferencesFactory"></property>
> <property name="user.variant" value=""></property>
> <property name="source.stylesheets"
> value="D:\java\lib\client-java/src/stylesheets"></property>
> <property name="jbosstest.deploy.dir"
> value="D:\java\lib\client-java\output\lib"></property>
> <property name="java.awt.printerjob"
> value="sun.awt.windows.WPrinterJob"></property>
> <property name="sun.io.unicode.encoding"
> value="UnicodeLittle"></property>
> <property name="awt.toolkit"
> value="sun.awt.windows.WToolkit"></property>
> <property name="packages" value="org.firebirdsql.*"></property>
> <property name="module.thirdparty"
> value="D:\java\lib\client-java/src/lib"></property>
> <property name="user.home" value="C:\Documents and
> Settings\jw.POWER"></property>
> <property name="module.tools"
> value="D:\java\lib\client-java/lib"></property>
> <property name="java.specification.vendor" value="Sun Microsystems
> Inc."></property>
> <property name="test.db.dir"
> value="D:\java\lib\client-java/output/db"></property>
> <property name="build.resources"
> value="D:\java\lib\client-java/output/resources"></property>
> <property name="java.library.path"
> value="C:\j2sdk1.4.1\bin;.;C:\WINNT\System32;C:\WINNT;C:\Program
> Files\Borland\Delphi7\Projects\Bpl\;D:\OraHome1\bin;C:\WINNT\system32;C:\WINNT;C:\MSSQL7\BINN;C:\code\server7.5\Firebird\bin;"\bin";"C:\j2sdk1.4.1\lib\tools.jar""></property>
> <property name="name" value="firebirdsql"></property>
> <property name="java.vendor.url"
> value="http://java.sun.com/"></property>
> <property name="build.reports"
> value="D:\java\lib\client-java/output/reports"></property>
> <property name="java.vm.vendor" value="Sun Microsystems
> Inc."></property>
> <property name="build.j2ee"
> value="D:\java\lib\client-java/output/j2ee"></property>
> <property name="java.runtime.name" value="Java(TM) 2 Runtime
> Environment, Standard Edition"></property>
> <property name="ant.version" value="Apache Ant version 1.5
> compiled on July 9 2002"></property>
> <property name="java.class.path"
> value="D:\java\lib\client-java\output\classes;D:\java\lib\client-java\output\test;D:\java\lib\client-java\output\resources;D:\java\lib\client-java\lib\ant.jar;D:\java\lib\client-java\lib\optional.jar;D:\java\lib\client-java\src\lib\jaas.jar;D:\java\lib\client-java\output\j2ee;D:\java\lib\client-java\src\lib\jdbc-3_0-pfd2-classes.zip;D:\java\lib\client-java\output\concurrent;D:\java\lib\client-java\src\lib\log4j-core.jar;D:\java\lib\client-java\lib\junit.jar"></property>
> <property name="junit.printsummary" value="true"></property>
> <property name="module.output"
> value="D:\java\lib\client-java/output"></property>
> <property name="TSTAMP" value="0704"></property>
> <property name="source.java"
> value="D:\java\lib\client-java/src/main"></property>
> <property name="java.vm.specification.name" value="Java Virtual
> Machine Specification"></property>
> <property name="java.vm.specification.version"
> value="1.0"></property>
> <property name="junit.haltonerror" value="true"></property>
> <property name="build.classes"
> value="D:\java\lib\client-java/output/classes"></property>
> <property name="sun.os.patch.level" value="Service Pack
> 3"></property>
> <property name="sun.cpu.endian" value="little"></property>
> <property name="java.io.tmpdir"
> value="C:\DOCUME~1\JW0E56~1.POW\LOCALS~1\Temp\"></property>
> <property name="build.concurrent"
> value="D:\java\lib\client-java/output/concurrent"></property>
> <property name="thirdparty"
> value="D:\java\lib\client-java/thirdparty"></property>
> <property name="java.vendor.url.bug"
> value="http://java.sun.com/cgi-bin/bugreport.cgi"></property>
> <property name="Name" value="FirebirdSQL"></property>
> <property name="java.awt.graphicsenv"
> value="sun.awt.Win32GraphicsEnvironment"></property>
> <property name="os.arch" value="x86"></property>
> <property name="jboss.base.dir"
> value="/usr/java/jboss/rc1/jboss-all/build/output/jboss-3.0.1RC1"></property>
> <property name="java.ext.dirs"
> value="C:\j2sdk1.4.1\jre\lib\ext"></property>
> <property name="user.dir"
> value="D:\java\lib\client-java\output"></property>
> <property name="build.docs"
> value="D:\java\lib\client-java/output/docs"></property>
> <property name="junit.haltonfailure" value="true"></property>
> <property name="line.separator" value="
> "></property>
> <property name="java.vm.name" value="Java HotSpot(TM) Client
> VM"></property>
> <property name="basedir" value="D:\java\lib\client-java"></property>
> <property name="build.testlog"
> value="D:\java\lib\client-java/output/log"></property>
> <property name="ant.java.version" value="1.4"></property>
> <property name="junit.formatter.type" value="xml"></property>
> <property name="module.root"
> value="D:\java\lib\client-java"></property>
> <property name="file.encoding" value="Cp1252"></property>
> <property name="build.compiler" value="classic"></property>
> <property name="build.test"
> value="D:\java\lib\client-java/output/test"></property>
> <property name="java.specification.version" value="1.4"></property>
> <property name="module.etc"
> value="D:\java\lib\client-java/src/etc"></property>
> <property name="log4j.properties"
> value="D:\java\lib\client-java\output\resources\log4j.properties"></property>
> <property name="junit.fork" value="true"></property>
> <property name="test.db.host" value="localhost"></property>
> <property name="junit.jvm.options" value="-Ddummy"></property>
> </properties>
> <testcase name="testConnect" time="1.953"></testcase>
> <testcase name="testOneConnectionWithPooling" time="3.235"></testcase>
> <testcase name="testPooling" time="4.247">
> <failure message="Wrong number of connections! 1, expected 3"
> type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError:
> Wrong number of connections! 1, expected 3
> at
> org.firebirdsql.jdbc.TestFBWrappingDataSource.testPooling(TestFBWrappingDataSource.java:168)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> </failure>
> </testcase>
> <system-out><![CDATA[]]></system-out>
> <system-err><![CDATA[]]></system-err>
> </testsuite>
>
>
> --- In Firebird-Java@y..., David Jencks <davidjencks@d...> wrote:
> > I sometimes get one error from the TestPooolingConnectionManager
> test. I
> > think there is some indeterminacy in timing in one of the tests,
> there are
> > several threads and timers involved. I don't get the
> > TestFBWrappingDataSource error. Can you provide the TEST-....xml
> report
> > file?
> >
> > Maybe it is related to using jdk 1.4.1??
> >
> > david jencks
>
>
>
>
> To unsubscribe from this group, send an email to:
> Firebird-Java-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
>