Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 92644 invoked from network); 9 Mar 2011 11:37:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Mar 2011 11:37:21 -0000 Received: (qmail 75181 invoked by uid 500); 9 Mar 2011 11:37:21 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 75152 invoked by uid 500); 9 Mar 2011 11:37:21 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 75144 invoked by uid 99); 9 Mar 2011 11:37:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Mar 2011 11:37:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Mar 2011 11:37:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 676063A046D for ; Wed, 9 Mar 2011 11:36:59 +0000 (UTC) Date: Wed, 9 Mar 2011 11:36:59 +0000 (UTC) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Message-ID: <25595210.7613.1299670619420.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Created: (DERBY-5115) NetworkServerControlApiTest depends on implicit ordering of test cases MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 NetworkServerControlApiTest depends on implicit ordering of test cases ---------------------------------------------------------------------- Key: DERBY-5115 URL: https://issues.apache.org/jira/browse/DERBY-5115 Project: Derby Issue Type: Bug Components: Test Affects Versions: 10.8.0.0 Reporter: Knut Anders Hatlen If the test cases in NetworkServerControlApiTest run in a different order than the order in which they appear in the source file, they may fail. Seen in the nightly regression tests on Java 7, for example here: http://dbtg.foundry.sun.com/derby/test/Daily/jvm1.7/testing/testlog/lin/1078855-suitesAll_diff.txt 1) testTraceCommands(org.apache.derbyTesting.functionTests.tests.derbynet.NetworkServerControlApiTest)junit.framework.AssertionFailedError at org.apache.derbyTesting.functionTests.tests.derbynet.NetworkServerControlApiTest.testTraceCommands(NetworkServerControlApiTest.java:116) ... 2) testPropertiesAfterConnection(org.apache.derbyTesting.functionTests.tests.derbynet.GetCurrentPropertiesTest)junit.framework.ComparisonFailure: expected: but was: at org.apache.derbyTesting.functionTests.tests.derbynet.GetCurrentPropertiesTest.testPropertiesAfterConnection(GetCurrentPropertiesTest.java:170) The test should either make the order of the test cases explicit, or make the test cases independent of each other. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira