db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-4238) JMX test failure starting network server doesn't seem to get recorded to the fail directory
Date Wed, 20 May 2009 09:41:45 GMT

    [ https://issues.apache.org/jira/browse/DERBY-4238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711076#action_12711076
] 

Knut Anders Hatlen commented on DERBY-4238:
-------------------------------------------

I think this is because the error happens in the decorator and not in the test itself. Logging
of failures in the fail directory happens in BaseTestCase.runBare() and the decorator's setUp/tearDown
methods are not executed from within that method.

> JMX  test failure starting network server doesn't  seem to get recorded to the fail directory

> ----------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4238
>                 URL: https://issues.apache.org/jira/browse/DERBY-4238
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.6.0.0
>            Reporter: Kathey Marsden
>            Priority: Minor
>
> I  did a test run and saw this failure:
> 2) JMXTest:clientjunit.framework.AssertionFailedError: Timed out waiting for network
server to start:Spawned SpawnedNetworkServer exitCode=1
> 	at org.apache.derbyTesting.junit.NetworkServerTestSetup.setUp(NetworkServerTestSetup.java:200)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
> 	at junit.extensions.TestSetup.run(TestSetup.java:16)
> 	at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> 	at junit.extensions.TestSetup.run(TestSetup.java:16)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> 	at junit.extensions.TestSetup.run(TestSetup.java:16)
> But there was no directory under the fail directory for this test.  I am not sure if
the problem is just that it failed to early in the process or if there is something specific
about the JMX tests that they don't get recorded to the fail directory.

-- 
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