[ http://issues.apache.org/jira/browse/DERBY-1751?page=comments#action_12436894 ] Bryan Pendleton commented on DERBY-1751: ----------------------------------------
Thanks Fernanda for the explanation. Your patch is certainly simpler than the previous technique and it is nice to see all that test code get simpler. I guess I am a little bit concerned that this technique might cause us to miss important messages in the server output, but I don't have anything better to suggest right now. +1 from me for this patch. > derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient > framework > --------------------------------------------------------------------------------- > > Key: DERBY-1751 > URL: http://issues.apache.org/jira/browse/DERBY-1751 > Project: Derby > Issue Type: Bug > Components: Regression Test Failure > Affects Versions: 10.2.1.0 > Environment: JVM: Sun JDK 6 (build 1.6.0-rc-b95) > OS: Solaris 10 (sparc) local zones > Hardware: Sun Fire V210 Server, 2 x 1000 MHz CPU > Reporter: John H. Embretsen > Assigned To: Fernanda Pizzorno > Priority: Minor > Fix For: 10.2.2.0 > > Attachments: derby-1751.diff, derby-1751.stat, derby-1751v2.diff, > derby.log > > > During 10.2.1.0 beta testing this test failed with > org.apache.derby.iapi.services.context.ShutdownException on 2 of 4 platforms > running Solaris zones: > Platform "sparc_zone2": > > derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff > Platform "sparc_zone3": > > derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff > > derbyall/derbynetclientmats/DerbyNetClient/derbynetmats/derbynetmats/testSecMec.diff > The test did not fail on other platforms, which may indicate timing > sensitivity (tests are run concurrently in 4 zones (1 global, 3 local) on one > single machine). Here is one of the diffs (from platform "sparc_zone2"): > ********* Diff file > derbynetclientmats/derbynetmats/DerbyNetClient/derbynetmats/testSecMec.diff > *** Start: testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats > 2006-08-14 21:31:48 *** > 308a309,312 > > java.sql.SQLException: Java exception: ': > > org.apache.derby.iapi.services.context.ShutdownException'. > > ... 14 more---------------------------------------------- > > Testing with derby.drda.securityMechanism=INVALID_VALUE > > EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for > > derby.drda.securityMechanism. > 310,312d313 > < Testing with derby.drda.securityMechanism=INVALID_VALUE > < EXPECTED EXCEPTION DRDA_InvalidValue.U:Invalid value, INVALID_VALUE, for > derby.drda.securityMechanism. > < ----- > Test Failed. > *** End: testSecMec jdk1.6.0-rc DerbyNetClient derbynetmats:derbynetmats > 2006-08-14 21:32:54 *** > The failure occurred in the DerbyNetClient framework when shutting down the > database for the second (and last) time in the method > testUSRSSBPWD_with_BUILTIN(). This test method was added August 9, 2006 > (DERBY-528). > Attatching derby.log from the failure in derbynetclientmats/derbynetmats on > sparc_zone2. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira