Return-Path: X-Original-To: apmail-db-derby-commits-archive@www.apache.org Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1EF72DB48 for ; Wed, 19 Dec 2012 17:54:19 +0000 (UTC) Received: (qmail 51802 invoked by uid 500); 19 Dec 2012 17:54:19 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 51741 invoked by uid 500); 19 Dec 2012 17:54:19 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 51733 invoked by uid 99); 19 Dec 2012 17:54:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2012 17:54:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2012 17:54:18 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id E84FE2388847; Wed, 19 Dec 2012 17:53:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1423985 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java Date: Wed, 19 Dec 2012 17:53:57 -0000 To: derby-commits@db.apache.org From: mamta@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121219175357.E84FE2388847@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: mamta Date: Wed Dec 19 17:53:57 2012 New Revision: 1423985 URL: http://svn.apache.org/viewvc?rev=1423985&view=rev Log: DERBY-6012 (Print thread dump and dump javacore if NetworkServerTestSetup has to kill off the Network Server start up process due to timeout) Simple code change to dump threads and javacore Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java?rev=1423985&r1=1423984&r2=1423985&view=diff ============================================================================== --- db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java (original) +++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java Wed Dec 19 17:53:57 2012 @@ -36,6 +36,8 @@ import java.util.ArrayList; import java.util.Arrays; import junit.framework.Test; import org.apache.derby.drda.NetworkServerControl; +import org.apache.derby.iapi.error.ExceptionUtil; +import org.apache.derby.iapi.services.info.JVMInfo; /** * Test decorator that starts the network server on startup @@ -218,6 +220,9 @@ final public class NetworkServerTestSetu spawnedServer = null; } fail(msg); + //DERBY-6012 print thread dump and java core + fail(ExceptionUtil.dumpThreads()); + JVMInfo.javaDump(); } } }