db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-3465) 'testNetworkServerSecurityMechanism' fails with 'junit.framework.AssertionFailedError: did not expect an sqlexception'.
Date Tue, 26 Feb 2008 13:49:51 GMT

     [ https://issues.apache.org/jira/browse/DERBY-3465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kristian Waagan updated DERBY-3465:
-----------------------------------

    Attachment: derby-3465-1a-remove_try_catch.diff

'derby-3465-1a-remove_try_catch.diff' removes what I think is unnecessary try-catch clauses.
If the error happens again, we might hopefully get a more helpful error message.

Test runs without errors on my system with the patch applied.
A review is very much appreciated.

> 'testNetworkServerSecurityMechanism' fails with 'junit.framework.AssertionFailedError:
did not expect an sqlexception'.
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3465
>                 URL: https://issues.apache.org/jira/browse/DERBY-3465
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure, Test
>    Affects Versions: 10.4.0.0
>         Environment: OS:  Solaris 10 6/06 s10x_u2wos_09a X86 64bits - SunOS 5.10 Generic_118855-14
> JVM:  Sun Microsystems Inc., java version "1.5.0_14", Java(TM) 2 Runtime Environment,
Standard Edition (build 1.5.0_14-b03), Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed
mode)
>            Reporter: Ole Solberg
>            Priority: Minor
>         Attachments: derby-3465-1a-remove_try_catch.diff
>
>
> http://dbtg.thresher.com/derby/test/trunk15/jvm1.5/testing/testlog/SunOS-5.10_i86pc-i386/630954-org.apache.derbyTesting.functionTests.suites.All_diff.txt
> 1) testNetworkServerSecurityMechanism(org.apache.derbyTesting.functionTests.tests.derbynet.NSSecurityMechanismTest)junit.framework.AssertionFailedError:
did not expect an sqlexception.
> 	at org.apache.derbyTesting.functionTests.tests.derbynet.NSSecurityMechanismTest.getDataSourceConnectionWithSecMec(NSSecurityMechanismTest.java:1257)
> 	at org.apache.derbyTesting.functionTests.tests.derbynet.NSSecurityMechanismTest.assertUSRSSBPWD_with_BUILTIN(NSSecurityMechanismTest.java:1207)
> 	at org.apache.derbyTesting.functionTests.tests.derbynet.NSSecurityMechanismTest.testNetworkServerSecurityMechanism(NSSecurityMechanismTest.java:363)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:101)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> 	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> (
> ------------------ Java Information ------------------
> Java Version:    1.5.0_14
> Java Vendor:     Sun Microsystems Inc.
> Java home:       /usr/local/java/jdk1.5.0_14/jre
> Java classpath:  /home/os136789/Apache/Derby/trunk/jars/insane/derby.jar:/home/os136789/Apache/Derby/trunk/jars/insane/derbyclient.jar:/home/os136789/Apache/Derby/trunk/jars/insane/derbytools.jar:/home/os136789/Apache/Derby/trunk/jars/insane/derbynet.jar:/home/os136789/Apache/Derby/db2jcc/lib/db2jcc.jar:/home/os136789/Apache/Derby/db2jcc/lib/db2jcc_license_c.jar:/home/os136789/Apache/Derby/trunk/jars/insane/derbyTesting.jar:/home/os136789/Apache/Derby/trunk/jars/insane/derbyrun.jar:/home/os136789/Apache/Derby/trunk/tools/java/jakarta-oro-2.0.8.jar:/home/os136789/Apache/Derby/trunk/tools/java/junit.jar:/home/os136789/Apache/Derby/trunk/jars/insane/derbyLocale_de_DE.jar:/home/os136789/Apache/Derby/trunk/jars/insane/derbyLocale_es.jar:/home/os136789/Apache/Derby/trunk/jars/insane/derbyLocale_fr.jar:/home/os136789/Apache/Derby/trunk/jars/insane/derbyLocale_it.jar:/home/os136789/Apache/Derby/trunk/jars/insane/derbyLocale_ja_JP.jar:/home/os136789/Apache/Derby/trunk/jars/insane/derbyLocale_ko_KR.jar:/home/os136789/Apache/Derby/trunk/jars/insane/derbyLocale_pt_BR.jar:/home/os136789/Apache/Derby/trunk/jars/insane/derbyLocale_zh_CN.jar:/home/os136789/Apache/Derby/trunk/jars/insane/derbyLocale_zh_TW.jar:/usr/local/share/java/xalan/serializer.jar:/usr/local/share/java/xalan/xalan.jar:/usr/local/share/java/xalan/xercesImpl.jar:/usr/local/share/java/xalan/xml-apis.jar:/usr/local/share/java/xalan/xsltc.jar
> OS name:         SunOS
> OS architecture: x86
> OS version:      5.10
> Java user name:  os136789
> Java user home:  /home/os136789
> Java user dir:   /export/home/tmp/os136789/testingDerby/SunOS-5.10_i86pc-i386/org.apache.derbyTesting.functionTests.suites.All
> java.specification.name: Java Platform API Specification
> java.specification.version: 1.5
> --------- Derby Information --------
> JRE - JDBC: J2SE 5.0 - JDBC 3.0
> [/home/os136789/Derby/trunk/jars/insane/derby.jar] 10.4.0.0 alpha - (630954)
> [/home/os136789/Derby/trunk/jars/insane/derbytools.jar] 10.4.0.0 alpha - (630954)
> [/home/os136789/Derby/trunk/jars/insane/derbynet.jar] 10.4.0.0 alpha - (630954)
> [/home/os136789/Derby/trunk/jars/insane/derbyclient.jar] 10.4.0.0 alpha - (630954)
> [/home/os136789/Derby/db2jcc/lib/db2jcc.jar] 2.4 - (17)
> [/home/os136789/Derby/db2jcc/lib/db2jcc_license_c.jar] 2.4 - (17)
> ------------------------------------------------------
> )

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message