qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Ritchie (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Commented: (QPID-997) AMQBrokerManagerMBeanTest takes more than 60seconds to run
Date Fri, 02 May 2008 16:12:55 GMT

    [ https://issues.apache.org/jira/browse/QPID-997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593804#action_12593804
] 

Martin Ritchie commented on QPID-997:
-------------------------------------

Ok so the cause isn't the DTD but the clue is this line:

log4j:ERROR Could not parse url [file://C:/dev/ApacheProjects/Qpid-clean/trunk/qpid/java/log4j-test.xml].



if you strip off file:// you get the path C:/dev/ApacheProjects/Qpid-clean/trunk/qpid/java/log4j-test.xml
.. which isn't a path that is undersood.

under windows you need to add a / so it starts file:///c:/ 

see:
http://www.mail-archive.com/log4j-user@jakarta.apache.org/msg10123.html

Otherwise it thinks that it is a URL and tries to download it from the web but the look up
to server 'C' with a blank port setting has to time out. 

certainly making that change makes AMQBrokerManagerMBeanTest run in 0.5seconds.

On to the next problem

> AMQBrokerManagerMBeanTest takes more than 60seconds to run
> ----------------------------------------------------------
>
>                 Key: QPID-997
>                 URL: https://issues.apache.org/jira/browse/QPID-997
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>            Reporter: Martin Ritchie
>
> Summary:
> The AMQBrokerManagerMBeanTest takes more tha 60 seconds to run tends to suggest an error
has occurred but no problems are logged out.
> [junit] Running org.apache.qpid.server.AMQBrokerManagerMBeanTest
> [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 68.658 sec
> surefire report:
> $ cat org.apache.qpid.server.AMQBrokerManagerMBeanTest.txt
> -------------------------------------------------------------------------------
> Test set: org.apache.qpid.server.AMQBrokerManagerMBeanTest
> -------------------------------------------------------------------------------
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec

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