You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Myrna van Lunteren (JIRA)" <ji...@apache.org> on 2007/05/28 05:18:31 UTC
[jira] Closed: (DERBY-1114) derbynet/testSecMec.java fails
intermittently and test exits mysteriously when server is shutdown as part
of the testrun.
[ https://issues.apache.org/jira/browse/DERBY-1114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Myrna van Lunteren closed DERBY-1114.
-------------------------------------
Resolution: Duplicate
I'm marking this as duplicate of DERBY-1751.
In 10.3 (pre-branching), this test has been rewritten as a junit test and I have not seen this fail for a long time.
> derbynet/testSecMec.java fails intermittently and test exits mysteriously when server is shutdown as part of the testrun.
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-1114
> URL: https://issues.apache.org/jira/browse/DERBY-1114
> Project: Derby
> Issue Type: Bug
> Components: Network Server, Test
> Affects Versions: 10.2.1.6
> Environment: Java Version: 1.4.2_06
> Java Vendor: Sun Microsystems Inc.
> Java home: /usr/local/lib/j2sdk1.4.2_06/jre
> OS name: Linux
> OS architecture: i386
> OS version: 2.4.21-27.0.2.ELsmp
> Reporter: Sunitha Kambhampati
> Priority: Minor
> Attachments: Derby1114.diff.txt, Stdout.java, testSecMec_test_output.zip
>
>
> The test derbynet/testSecMec.java fails intermittently in a strange way that the test actually exits before finishing the full test.
> This issue was noticed by Bryan when he ran derbyall with the derby-1080 fix. Some discussion and analysis that has been done is in Derby-1080. Please read comments in DERBY-1080. Some main links in
> http://issues.apache.org/jira/browse/DERBY-1080#action_12370260
> http://issues.apache.org/jira/browse/DERBY-1080#action_12370374
> In short: the test does some switching of System.out and System.err streams before calling networkserver.shutdown. This code was added to this test as part of fix for derby-273. for some reason, the networkserver.shutdown call makes the test to exit. One theory is that the network server.shutdown is causing the standard out streams to close and thus the test exits.
> -- Need to investigate what is the cause for this intermittent failure and how/why networkserver.shutdown is closing the stream or making the test to exit prematurely.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.